[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

SUMMARY: Red Hat Linux 8.0 hangs as an LDAP client when LDAPserver goes down



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@linuxmanagers.org
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers

[Home]     [Kernel List]     [Linux SCSI]     [Video 4 Linux]     [Linux Admin]     [Yosemite News]     [Motherboards]

Powered by Linux