I think that you meant to add the following to /etc/nsswitch.conf

passwd: files ldap [UNAVAIL=return] 
group: files ldap [UNAVAIL=return] 
shadow: files ldap [UNAVAIL=return] 

You want it to give up trying ldap when it can't reach the ldap server.

But, this did not work for me with the problem that I was seeing.  I
ended up adding a host line of

host 127.0.0.1 123.123.123.123

in /etc/ldap.conf.  Fortunately, we have multiple ldap servers running
and the master will stay at feisty until I see that this problem has
been resolved.  If this is your only ldap server and you are running
gutsy I don't see how to work around this problem.

Bill

-- 
ldap config  causes Ubuntu to hang at a reboot
https://bugs.launchpad.net/bugs/155947
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to