[Samba] Some users can't log in -- server shows username as " nobody"

David Brodbeck DavidB at mail.interclean.com
Fri Mar 15 08:18:04 GMT 2002


Do you mean the UNIX user entry, or the entry on the password server?  For
various reasons I'd be very reluctant to remove the user entry on the
password server -- it's kind of a no-no in NT domains, since you can't get
the same user ID back and it screws up file ownerships.

-----Original Message-----
From: pilsl at goldfisch.at [mailto:pilsl at goldfisch.at]
Sent: Friday, March 15, 2002 10:06 AM
To: samba at lists.samba.org
Subject: Re: [Samba] Some users can't log in -- server shows username as
" nobody"



hmmm .. you hit the point :)
but maybe you could try the same thing on your server:
remove user on server
stop samba
add user on server
start samba

just a vodoo-try. please tell if it works ..

peter

On Fri, Mar 15, 2002 at 08:53:21AM -0500, David Brodbeck wrote:
> The thing is, since I'm using security=server I don't have an smbpasswd
> file.  I'd only need to add users to smbpasswd if I wanted to authenticate
> them with Samba instead of against the server, right?  I'm trying to avoid
> having to maintain two sets of passwords.
> 
> If I'm misunderstanding something, let me know.  I don't have a lot of
> experience with security=server mode.
> 
> -----Original Message-----
> From: pilsl at goldfisch.at [mailto:pilsl at goldfisch.at]
> Sent: Thursday, March 14, 2002 7:08 PM
> To: samba at lists.samba.org
> Subject: Re: [Samba] Some users can't log in -- server shows username as
> "nobody"
> 
> 
> I just had the very same problem about 10 minutes ago. I couldnt logon
> with a certain username even if I tried 10 times and checked the
> user/pass very carefully.
> 
> Finally the following helped : remove the username from the
> smbpasswd-file (just reapplying smbpasswd for this user was not
> sufficient), add the user with smbpasswd and stop/start samba.
> 
> hope this helps for you too.
> 
> peter
> 
> 
> 
> 
> 
> On Thu, Mar 14, 2002 at 12:21:14PM -0600, Tony Ricker wrote:
> > Dave,
> > 	I have had this issue and found that samba uses the nobody account
> if
> > the user fails to authenticate. Basically, the user is failing to log in
> > so it tries the nobody account. Make sure that the user has a legitimate
> > account and try smbclient to test this. I hope this helps or at least
> > starts a dialogue if I am wrong.
> > 
> > Cheers,
> > Tony
> > 
> > David Brodbeck wrote:
> > > 
> > > Okay, this is a recurring problem that really has me frustrated.
> > > 
> > > I have a samba server that's using security=server.  There are four
> people
> > > who use it.  It works fine for three of them, but the fourth one gets
> > > endlessly prompted for his password and is never allowed to log in.
All
> are
> > > from NT 4.0 clients.
> > > 
> > > What's really puzzling is that when I look at the log at debug level
2,
> I
> > > get the following when he tries to log in:
> > > 
> > > "Invalid username/password for game-devel [nobody]"
> > > 
> > > No matter what he puts in the "user" field of the password dialog,
Samba
> is
> > > trying to log him in as nobody!  What's going on?
> > > 
> > > ----------
> > > 
> > > David Brodbeck, System Administrator
> > > InterClean Equipment, Inc.
> > > Ann Arbor, Michigan
> > > davidb at mail.interclean.com
> > > (734) 975-2967 x221
> > > 
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > 
> > 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list