first, "cp /etc/nsswitch.conf /etc/nsswitch.orig" - you'll be pissed if you screw up and don't have a backup.
Then, make yours look kinda like this:
passwd: files ldap
group: files ldap
hosts: files dns ldap
networks: files dns ldap
services: files ldap
protocols: files ldap
rpc: ldap
ethers: ldap
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files
aliases: files
Also, put an entry for your LDAP server in /etc/hosts. If the system tries to look up the ldap server using the ldap database, there will be problems... :)
|