Name service switch (/etc/nsswitch.conf) One important note about the use of nscd; if you set nscd to handle services, networks, protocols, rcp, and ethers, then you might not be able to connect to your ldap server. Why? If ldap is handling your protocol list; but in order to lookup the protocol list you must connect to ldap... As a result I set all of them to files.
passwd:         files ldap
group:          files ldap
If you want to have ldap keep host information too:
hosts:          dns ldap

# LDAP is nominally authoritative for the following maps.
services:       files
networks:       files
protocols:      files
rpc:            files
ethers:         files
#services:   ldap [NOTFOUND=return] files
#networks:   ldap [NOTFOUND=return] files
#protocols:  ldap [NOTFOUND=return] files
#rpc:        ldap [NOTFOUND=return] files
#ethers:     ldap [NOTFOUND=return] files

Ashton Trey Belew
Last modified: Thu Mar 21 09:30:06 EST 2002