Comment 17 for bug 1024475

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

Hi,

I lost more than 4 hours on this issue and found a solution. I hope it could help others.

Got the issue on a brand new 14.04.1 installation. Modification of the libnss-ldap (#2) script didn't solve the issue.

I found a solution on following the page : http://backdrift.org/how-to-get-pam-ldap-local-logins-to-work-when-networking-is-down and changed /etc/ldap.conf file and add following lines before nss_initgroups_ignoreusers:
nss_reconnect_tries 2
nss_reconnect_sleeptime 1
nss_reconnect_maxsleeptime 1
nss_reconnect_maxconntries 1

After this modification the system was able to boot normally and I could directly log in with ldap user.