Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 3212

LDAP authentication

$
0
0

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


Viewing all articles
Browse latest Browse all 3212

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>