[LDAP] The distinguished name contains invalid syntax ERROR!!
- by handle0088
I'm trying using LDAP to authenticate user, but I have a problem with LDAP.
This is my code
string hostOrDomainName = "MrHand-PC";
string targetOu = "cn=Huy Pham,ou=people,dc=example,dc=com";
// create a search filter to find all objects
string ldapSearchFilter = "uid=pdhuy";
// establish a…