Skip to content

Conversation

dorren
Copy link

@dorren dorren commented May 16, 2012

if :bind_dn and :password is not set. this patch fake it by using current login user's info as credential.

In my company (fortune 500), IT dept only creates new LDAP account for real person. So I can't set default credential, this patch resolves such issue.

@lanrat
Copy link

lanrat commented Aug 17, 2013

My org has the same issue

@pyu10055
Copy link
Collaborator

this PR assumes LDAP can authenticate email constructed from based DN, this might not always be the case for everyone.
I suggest to allow bind_dn and password to be passed in as proc, and generate bind_dn and password dynamically.

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

Successfully merging this pull request may close these issues.

3 participants