Operating System - HP-UX
1829092 Members
3035 Online
109986 Solutions
New Discussion

samba error in client log file

 
SOLVED
Go to solution
Michael Allmer
Frequent Advisor

samba error in client log file

Can anyone tell me why I get this error message in the log file.

Error : UNIX and SMB uids in password files do not match for user 'walliske'!
[2002/03/22 07:03:48, 0] smbd/password.c:(513)
4 REPLIES 4
George A Bodnar
Trusted Contributor
Solution

Re: samba error in client log file

You have a samba password file (smbpasswd) with a mismatching UID. From the smbpasswd man page:

uid

This is the UNIX uid. It must match the uid field for the same user entry in the standard UNIX passwd file. If this does not match then Samba will refuse to recognize this smbpasswd file entry as being valid for a user.
Mark Vollmers
Esteemed Contributor

Re: samba error in client log file

Mike-

how did you make your users? did you use the smbpasswd -a command? The smbpasswd -a command should take the user (uid, gid) from /etc/passwd and put in the samba's password file.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Francois Bariselle_3
Regular Advisor

Re: samba error in client log file

Hy!

Check your file users.map in samba/lib directory.

for ms user ex.:barfra01 to acces samba on Unix, assign a equivalence for Unix user.

ex.: barfra01 = root
barfra01 = barif0

regards
Fais la ...
Michael Allmer
Frequent Advisor

Re: samba error in client log file

George A Bodnar's answer did the trick. Thank you.

Mark to answer your question I added a reviced /etc/passwd a mothe ago when some network changes were made. I have to redue file ownership on the system then. THe smbpasswd file had the old UID in it.