Hi
 Trying to configure ldap client connection for AD,
 
in the ldap.conf , what configuration needs to be carried,
like is it required for PAM & NSS configuration .

tried to test in ldap command as initial test, but getting the below error,

./ldapsearch -x -W -h 10.10.10.10 -b "CN=testuser,OU=Users,OU=KeyPairIN,OU=KeyPair,DC=keypair,DC=internal" -S sub
Enter LDAP Password:  ***  

ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)


Please do know what needs to be included



Thanks
Santosh
Sr Software developer

Shopping