Comment 41 for bug 155947

Revision history for this message
Bill MacAllister (whm-stanford) wrote : Re: ldap config causes Ubuntu to hang at a reboot

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