LDAP client running Ubuntu Server 14.04 works, but hangs on reboot

Willi Geffers geffers at informatik.rwth-aachen.de
Fri May 2 13:33:48 UTC 2014


Hello!

I've a LDAP client with Ubuntu Server 14.04 and LDAP servers with Ubuntu
Server 10.04. The LDAP configuration works fine, but when the client
reboots, it hangs after printing "Begin:
Running /scripts/init-bottom ... done". To fix this, I need to remove
ldap as a source for the groups or hosts database in /etc/nsswitch.conf.

Here is the client's /etc/nsswitch.conf:

    passwd:         compat ldap
    group:          compat ldap
    shadow:         compat ldap

    hosts:          files ldap mdns4_minimal [NOTFOUND=return] dns
    networks:       files ldap

    protocols:      db files ldap
    services:       db files ldap
    ethers:         db files ldap
    rpc:            db files ldap

    aliases:        files ldap
    automount:      files ldap

    netgroup:       nis

Using ldap as a source for hosts AND groups at the same time prevents
the client from booting whatever the settings for the other databases
are. Using ldap as a source for all databases but hosts OR groups does
not.

Best regards
Willi
-- 
RWTH Aachen University          mailto:geffers at informatik.rwth-aachen.de
Department of Computer Science  URL: http://www-users.informatik.rwth-aachen.de/~wge
Ahornstrasse 55                 Phone: +49 241 80 21031
52074 Aachen, Germany           FAX: +49 241 80 22700





More information about the ubuntu-users mailing list