Bug 57452 - Samba has authentication problems with pam PAM_unix
Samba has authentication problems with pam PAM_unix
Product: Red Hat Linux
Classification: Retired
Component: samba (Show other bugs)
i586 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-12-12 15:37 EST by Jim Williams
Modified: 2007-04-18 12:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-12-12 15:37:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jim Williams 2001-12-12 15:37:32 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.2)
Gecko/20010726 Netscape6/6.1

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[8696]: 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):

How reproducible:

Steps to Reproduce:
1.Configure Samba
2.Connect from a Win98 machine to files or printers with Samba
3.Watch /var/log/messages

Additional info:
Comment 1 Trond Eivind Glomsrxd 2001-12-13 17:53:26 EST
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).
Comment 2 Andrew Bartlett 2002-01-08 17:53:29 EST
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).

Note You need to log in before you can comment on or make changes to this bug.