Red Hat Bugzilla – Bug 57452
Samba has authentication problems with pam PAM_unix
Last modified: 2007-04-18 12:38:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.2)
Description of problem:
I have upgraded a RH 6.2 server to Samba 2.0.10-0.62 and pam to 0.72-20.6
Samba responds slowly and I'm seeing multiple entries in /var/log/messages
similar to the following
Dec 10 08:50:15 <servername> PAM_unix: authentication failure;
(uid=0) -> <username> for samba service
Eventually they connection will work but the lag time is unacceptable. We
are using simple passwd/shadow authentication, Samba and Win98 are
configured for NON-encrypted passwords. I put 1 user into smbpasswd and it
didn't change the error at all.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Connect from a Win98 machine to files or printers with Samba
That looks very much like root is trying, and failing, to authenticate. I'm not
aware of other problems, I suggest you ask on the samba mailing list (bugzilla
is a bugtracker, not a support channel).
Known Issue when authenticating with plaintext passwords. This is becouse the
client UPPER CASES the password before we get it. Your password is almost
certainly in lower case, and thats the second thing we try.
Always set 'encrypt passwords = yes' and setup a smbpasswd file for maximum
client compatibility. (Other clients won't even send the plaintext).