UNIX and SMB uids do not match

Herb Lewis herb at sgi.com
Mon Jan 14 13:10:03 GMT 2002


"MCCALL,DON (HP-USA,ex1)" wrote:

>
> Hello Tod,
> In the message
>
> getsmbfilepwent: returning passwd entry for user test, uid 1021
>
> the uid 1021 being referred to is being read FROM the smbpasswd file,
> which clearly conflicts with what you say you SEE in
> your /etc/samba/smbpasswd file - so maybe samba is using a different
> smbpasswd file than you think...
> Try the following; grep you smbpasswd file for the user 'test' and
> remove any entry for this. Note the datestamp on the smbpasswd file
> you edited.
> Now wait a couple of minutes, and RE-ADD the user using the smbpasswd
> command, and verify
> that the correct user is added to that file.  Also stop and start
> smbd, with log level = 10 and check to see what location smbd is
> looking for the smbpasswd file...
>
> Hope this helps,
> Don

You could also try running

testparm -s | grep passwd

to see what is listed for your password file.

--
======================================================================
Herb Lewis                               Silicon Graphics
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177
======================================================================







More information about the samba mailing list