Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searchDN field explanation #33

Open
varwiz opened this issue Jan 3, 2017 · 2 comments
Open

searchDN field explanation #33

varwiz opened this issue Jan 3, 2017 · 2 comments

Comments

@varwiz
Copy link

varwiz commented Jan 3, 2017

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

@tykeal
Copy link
Owner

tykeal commented Jan 3, 2017

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
Copy link
Owner

tykeal commented Jan 3, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants