-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[LDAP connector] Document that 'DN' must be in capitals #1190
Comments
I found a mention of the magic capitalization behavior here: Just need the same in the connector documentation page. |
@whereisaaron I guess @OwenTuz's fine little change does the trick here, what do you think? (Optimistically, I'm closing this issue. Feel free to re-open.) |
It all helps @srenatus! I don't think 'DN' ought to be case specific when LDAP normally isn't, but so long as you know this connector behavior you can work with it. |
Does this mean ANY reference of DN? I am assuming yes. A couple examples from the above docs page just for clarification: # Dex config example from dex docs
userSearch:
idAttr: DN # this is caps, if it is DN
# as well as this:
groupSearch:
userMatchers:
- userAttr: DN # this is caps, again because DN, assuming DN (only) must always be caps
groupAttr: member
- userAttr: uid # not caps, cuz not DN
groupAttr: memberUid Curious, does anyone know why |
Updated link to the configuration page as the above references are broken links now. |
I was perplexed why my LDAP group searches were not working. But I noted on the otherwise excellent LDAP connector documentation page, that 'DN' was used in capitals, even though nothing else was.
I didn't think 'dn' was supposed to be case sensitive? Either way, I think this is worth specifically calling out in the documentation.
Fails with 'Login Error' screen:
Works great, including groups:
The text was updated successfully, but these errors were encountered: