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

LDAP attribute case-sensitivity #1150

Closed
dc53000 opened this issue Sep 4, 2015 · 1 comment
Closed

LDAP attribute case-sensitivity #1150

dc53000 opened this issue Sep 4, 2015 · 1 comment

Comments

@dc53000
Copy link

dc53000 commented Sep 4, 2015

When importing users with LDAP, I configured the LDAP attributes like so:

    'result.username' => "uid",
    'result.last.name'  => "sn",
    'result.first.name' => "givenName",

This resulted in the following error for every user, even though each of them has a defined givenName attribute.

Validator failed:
The firstname field is required.

If I change it to:

    'result.first.name' => "givenname",

then everyone seems to import correctly with the givenName (capital N) attribute in LDAP. It seems maybe like ldap attribute names are being lower()ed at some point that may not be appropriate. I don't really mind just using the lowercase name in the config, but it seems like non-obvious behavior that will probably trip people up.

@toddjames
Copy link

I just wanted to say thank you for posting this. I was having the same issue and this helped.

@snipe snipe closed this as completed in 9b353ae Sep 9, 2015
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