Dear Alex_Perretti and pier-olivier.tremblay
Yesterday I lost the whole afternoon dealing with this config, and look what I found!
Everywhere I read about conf ldap_dn I saw that I had to put the distinguished name and examples was like: "CN=Joe, CN=Users, DC=KLAND, DC=AD, DC=com" (check here this sugestion https://wiki.ca.com/display/CASM1401/Configuring%20CA%20SDM%20to%20Use%20LDAP%20Authentication)
Yesterday I run a few times the utility: pdm_ldap_test and the result was:
C:\Users\adm_eellery>pdm_ldap_test
Starting pdm_ldap_test...
LDAP Directory Type : active directory
Service Desk Platform : windows
Search Base : DC=morphus,DC=corp
Search Filter : (objectClass=person)
Administrator Username : CN=Service Desk,OU=Admins,OU=Fortaleza,OU=Sites,DC=mo
rphus,DC=corp
Administrator Password : **********
LDAP Host : srv-ad-01
LDAP Port : 389
ldap_bind() ERROR(Credenciais inválidas)
Today I decided to change the ldap_dn config from DN sentence to only the username and what a surprise, it worked! No kidding!!!!!!!!
Never saw so many dificulties in installing a system...
I hope it helps anyone.
Best,
Ellery