On my system I enabled OpenLDAP authentication with nss_ldap and pam_ldap. The database works correctly and also the authentication but the boot procedure is very slow hanging during dbus, hal and avahi-daemon startup. Reproducible: Always Steps to Reproduce: 1. Install and configure net-nds/openldap 2. Install and configure sys-auth/pam_ldap and sys-auth/nss_ldap 3. Reboot the system Actual Results: The boot procedure hangs on dbus, hal and avahi-daemon startup. In /var/log/messages I found many errors about nss_ldap being unable to bind to the LDAP server ("nss_ldap: failed to bind to LDAP server ..."). This is quite obvious since the OpenLDAP daemon (slapd) hasn't been started yet. Expected Results: The boot procedure should be faster and there should not be any error in /var/log/messages. The OpenLDAP daemon (slapd) should be loaded *before* dbus, hald and avahi-daemon. There are two workarounds: 1) start slapd in "boot" run-level; 2) add "before dbus hald avahi-daemon" in depend() section in /etc/init.d/slapd.
Is anyone working on this issue? I can provide more information if needed...
Fixed in 2.4.17-r1.