SUMMARY: Red Hat Linux 8.0 hangs as an LDAP client when LDAP server goes down
Andrew Hodgetts <andrew-V6/MWrwjBA00n/[email protected]>
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Message-ID | <[email protected]> |
I also have encountered the problem where no-one can login on the linux box if the LDAP server isn't responding. I have adjusted the timeouts, so that when the LDAP server comes back up everything starts to work again, but I really need to be able to login to the machine (using the local file based auth) if LDAP auth fails. I tried putting a pam_warn.so as the first item in system-auth and found that if the LDAP server is not available for connection, authentication fails without even trying anything! I have configured the Redhat machines in the following mannor /etc/pam.d/system-auth auth required /lib/security/$ISA/pam_env.so auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok auth sufficient /lib/security/$ISA/pam_ldap.so use_first_pass auth required /lib/security/$ISA/pam_deny.so /etc/nsswitch.conf passwd: files ldap shadow: files ldap Are there any suggestions as to how I can get "local" logins to work while LDAP is unavailable? Thanks, Andrew Hodgetts _______________________________________________ LinuxManagers mailing list - http://www.linuxmanagers.org submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected] subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers