Comment 29 for bug 155947

Revision history for this message
Greek Ordono (grexk) wrote : Re: ldap config causes Ubuntu to hang at a reboot

After configuring my system to use libpam-ccreds(https://help.ubuntu.com/community/PamCcredsHowto) the system hangs up at "Starting system message bus dbus" for almost 5 minutes.

/etc/ldap.conf:
base dc=domain,dc=com
uri ldap://remote.domain.com
ldap_version 3
binddn cn=nssldap,ou=DSA,dc=domain,dc=com
bindpw nssldap1234
bind_policy soft
nss_reconnect_tries 1
nss_reconnect_sleeptime 1
nss_reconnect_maxsleeptime 8
nss_reconnect_maxconntries 2
nss_base_passwd ou=Users,dc=domain,dc=com?one
nss_base_passwd ou=Computers,dc=domain,dc=com?one
nss_base_shadow ou=Users,dc=domain,dc=com?one
nss_base_group ou=Groups,dc=domain,dc=com?one
ssl off
pam_password md5

/etc/nsswitch.conf
passwd: compat db [NOTFOUND=return] ldap
group: compat db [NOTFOUND=return] ldap