Comment 20 for bug 1024475

Revision history for this message
Claudio Kuenzler (napsty) wrote : Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

I ran into this issue today and I'm very surprised this issue is that old. This bug makes Ubuntu as an LDAP client unusable.

#17 did help for faster booting of the machine, but that's it. Any command is still so slow, the machine is useless.

#2 tried it like this:
- Adapted init script /etc/init.d/libnss-ldap like mentioned
- created /etc/nsswitch.conf.local which does NOT contain ldap
- created /etc/nsswitch.conf.ldap which does contain ldap
This again works for a very fast boot, but once libnss-ldap is started (and therefore the ldap version of nsswitch.conf becomes active), the system is bloody slow again.

#1 works to regain a "normal" system with local logins but ldap logins still time out.