Hi I am trying to authenticate user through LDAP. infoback := ADsOpenObject('LDAP://ldap.dlh.de:636/cn=U129752,ou=FRA,ou=INDAS,ou=LH,o=LH-DIR',Format('%s',[pUser]),pPassword,ADS_USE_SSL,IID_IAds,Obj); This is my line of code to authenticate. It is giving "An invalid dn syntax has been specified" error. But "LDAP://ldap.dlh.de:636/cn=U129752,ou=FRA,ou=INDAS,ou=LH,o=LH-DIR" is very much correct i know because it is able to bind as anonymous user but not with user credentials. Please help!! Thanks in Advance
↧