Category: ldap

LDAP and Symfony : Could not complete search with dn

I try to pass my application to Symfony. I have a problem with authentication. With PHP, I used this code to check connection to active directory $ldap_host = "%MY AD HOST%"; $ldap_dn = cn=srv_ldap,ou=Service,ou=Applicatifs,ou=Utilisateurs,ou=DomaineInterne,dc=mydomain,dc=pri"; $ldap_usr_dom = ‘@mydomain.pri’; $ldap = ldap_connect($ldap_host);…