Comment 2 for bug 1024475

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

Current workaround is changing the existing script /etc/init.d/libnss-ldap to include:

[...]

case "$1" in
        start)
                cp -f /etc/nsswitch.conf.ldap /etc/nsswitch.conf
                ;;
        stop)
                cp -f /etc/nsswitch.conf.local /etc/nsswitch.conf
                ;;

[...]

This will get you nss ldap working and no problems during reboot.

It's funny that this script is there to be used.