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

UID configuration is ignored #50

Open
mhutter opened this issue Sep 12, 2014 · 2 comments
Open

UID configuration is ignored #50

mhutter opened this issue Sep 12, 2014 · 2 comments

Comments

@mhutter
Copy link

mhutter commented Sep 12, 2014

Given the following parameters:

{:title=>"My LDAP",
 :host=>"1.2.3.4",
 :port=>636,
 :method=>"ssl",
 :base=>"ou=snip,dc=snip,dc=example,dc=com",
 :uid=>"sAMAccountName",
 :bind_dn=>"snip",
 :password=>"snip"}

I expect my UID to be equal to the sAMAccountName provided by my LDAP server. However, the UID is always the DN.

@rkesters
Copy link

rkesters commented Aug 7, 2017

Hi, I submitted a pull request #38 for this back in 2013, I'm sure it's out of date by now. If the maintainers decide to give the request consideration I'll update the request so that it merges correctly.

@openface
Copy link

bump

Would be great to have this fixed. Seems irregardless of the uid setting, the dn from the ldap entry is always assigned to the uid in AuthHash.

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

3 participants