Red Hat Bugzilla – Bug 121944
Authentication fails when LDAP server is not available
Last modified: 2007-11-30 17:10:41 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040413 Galeon/1.3.14 (Debian package 1.3.14a-1)
Description of problem:
I'm using the authconfig tool to configure the system's authentication
through an OpenLDAP local server. I was wondering what happened when the
server is down and I noticed that all authentication fails, even those
in the passwd file. I think it should fall back to normal account if
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use authconfig to enable LDAP authentication.
2. Stop the LDAP server.
3. Try to login with an normal account.
Actual Results: Login fails.
Expected Results: Login with normal accounts (from /etc/passwd)
should be enabled.
By altering the pam_unix account line in the
/etc/pam.d/system-auth file from:
account required /lib/security/$ISA/pam_unix.so
account sufficient /lib/security/$ISA/pam_unix.so
I was able to get it right.
*** Bug 121451 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 55193 ***