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

Add option for LDAP to pull all attributes for user entry #259

Merged
merged 2 commits into from Jun 11, 2016

Conversation

jasonwjones
Copy link
Contributor

In order for our moderatorGroup to work, we need the memberOf LDAP attribute to be searched for a given user to see if they are a moderator. However, in our LDAP server, the memberOf attribute on a user is a operational attribute (as opposed to a user attribute), so it wasn't coming back with the normal .lookup() method. This patch leaves the existing behavior in as the default, but adds the ability to pull back all attributes (equivalent of * and + in LDAP).

Jason Jones added 2 commits June 11, 2016 00:46
Needed to pull up group associations for users if they are operational
attributes instead of user attributes (need to get memberOf in my case)
@felipeweb felipeweb merged commit 1a174d5 into caelum:master Jun 11, 2016
@felipeweb
Copy link
Contributor

tks!

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.

None yet

2 participants