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

use current user info as LDAP credential #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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