Bug 100504 - authconfig addition to pam.d/system-auth prevents local users from logging in when ldap server cannot be contacted
authconfig addition to pam.d/system-auth prevents local users from logging in...
Status: CLOSED DUPLICATE of bug 55193
Product: Red Hat Linux
Classification: Retired
Component: authconfig (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-07-22 19:24 EDT by Brad Smith
Modified: 2007-04-18 12:55 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-15 03:44:36 EDT
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 Brad Smith 2003-07-22 19:24:31 EDT
Description of problem:
No users, including local users, including root, can log in to the system if it
has been configured by authconfig to use ldap and the ldap server becomes

Version-Release number of selected component (if applicable):

Steps to Reproduce:
1. Use authconfig to set up a system to use ldap authentication (not just user
info), but give it a bogus ldap server
2. Attempt to log in as root (or anyone else)
3. Hope that you remembered to keep an already logged-in session open. =:)
Additional info:
Bug has shown up under a number of other components, ex: bug #77575.

Proposed solution:
The solution to this problem was found by one of my students. Authconfig adds
the following line to /etc/pam.d/system-auth:

account [default=bad success=ok user_unknown=ignore service_err=ignore
system_err=ignore] /lib/security/$ISA/pam_ldap.so

That line should read: 

account [default=bad success=ok user_unknown=ignore service_err=ignore
system_err=ignore authinfo_unavail=ignore] /lib/security/$ISA/pam_ldap.so

The addition of 'authinfo_unavail=ignore' to the line will cause pam_ldap.so to
return an 'ignore' value instead of the default 'bad' when it cannot contact the
Comment 1 Brad Smith 2003-09-12 08:56:16 EDT
This problem seems to be in the process of being dealt with as bug #55193.
Additional commentary should probably be added to that thread.
Comment 2 Tomas Mraz 2004-10-15 03:37:47 EDT

*** This bug has been marked as a duplicate of 55193 ***

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