I am having some odd problems with using LDAP authentication when (for
some reason or another) my network interface goes down. I am
currently running RedHat 7.3, and used authconfig to set up the LDAP
auth stuff. I was having problems with my network card when I started
seeing the problem (although that is neither here or there).
What happened was that I would bring the system up and I could log in
fine... when I brought down the network interface, and logged back
out, I could no longer log in to the system at all, even as root (a
local user to the box.) It would just hang after typing the password,
then eventually bring up a new login: prompt. This really annoys me
because I have to reboot the system, start it back up in single-user
mode, then disable LDAP auth before I can log back in even as root.
*big pain in the butt*.
By the way the LDAP server is another box on my network, and I'm not
using SSL, TLS, or any encryption when this happens (i've tried all
three ways also).
Has anyone experienced the same, or have an idea why it won't even log
in local users. I can sure post a copy of my /etc/pam.d/system-auth
file if anyone feels the need, as well as /etc/nssswitch.conf and
/etc/nscd.conf. I have found nothing abnormal about how any of these
look, but then again, I'm no expert.
are any ideas on what to fix up so that local user authentication
*always* works even in for some reason the LDAP server can't be
reached. That is really the goal.
Thanks.
Kendal.