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

Update LDAP authentication to support binding with user credentials #212

Merged
merged 1 commit into from
May 28, 2017

Conversation

ScreamingHawk
Copy link
Contributor

@ScreamingHawk ScreamingHawk commented May 17, 2017

It's common practice to anonymous binding for LDAP authentication, however the current implementation does not allow enough variance for passing through the user credentials.

This change allows the bindDn and bindAuthentication variables to use the same {{x}} substitution used by the searchFilter further upstream. This method also exposes the username and password fields for easy modification if required by particular non-standard implementations.

When not used, there are no changes to existing functionality.

@claudioc claudioc merged commit a957ea4 into claudioc:master May 28, 2017
@ScreamingHawk ScreamingHawk deleted the ldap-enhancement branch May 28, 2017 19:23
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.

2 participants