ep_ldapauth icon indicating copy to clipboard operation
ep_ldapauth copied to clipboard

searchDN field explanation

Open varwiz opened this issue 8 years ago • 2 comments

can you explain a bit more as to what the searchDN field is ?

i get the below error when I supply my AD userid/password

ep_ldapauth.authenticate: LDAP auth error: ldap bind with uid={{myUID_goes_here}} to {{myldapurl_goes_here}} failed: InvalidCredentialsError: 80090308: LdapErr: DSID-0C0903A8, comment: AcceptSecurityContext error, data 52e, v1db1

varwiz avatar Jan 03 '17 21:01 varwiz

Mind you I don't have an AD system to work against, and haven't touched it in 16 years, but I'm pretty certain that since you're accessing AD via LDAP it needs to be a proper LDAP DN.

So instead of just a username it would be something like "cn=My Name,ou=Users,dc=example,dc=com" or as in the case of most OpenLDAP setups it will be in the same form as what the README has of "uid=myuser,dc=example,dc=com" or perhaps "uid=myuser,ou=Users,dc=example,dc=com".

tykeal avatar Jan 03 '17 21:01 tykeal

Alternatively, it might be that you need to be specifying the username@domain syntax for the user and not just a username or domain/user.

tykeal avatar Jan 03 '17 21:01 tykeal