You need to set up the general configuration for LDAP and make sure you can find stuff first. Set up the ldap.conf file you configured pam_ldap and nss_ldap to use (strings /lib/security/pam_ldap.so | grep ldap.conf)
BASE dc=cloudmaster,dc=com
HOST ldap.cloudmaster.com
Make SURE there isn't a trailing space in the BASE! That wil drive you crazy trying to debug... Make sure it's that way on the server too. You can also set some extra stuff in there, look at the docs that came with pam_ldap and nss_ldap for explanations. I'm too lazy to retype that stuff.
You need to set up /etc/nsswitch.conf and /etc/pam.d too. See the appropriate sections of this FAQ for hints.
|