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

group base dn #137

Open
buttle opened this issue Oct 17, 2017 · 1 comment
Open

group base dn #137

buttle opened this issue Oct 17, 2017 · 1 comment

Comments

@buttle
Copy link

buttle commented Oct 17, 2017

Hi!
We would like to manage user accounts for various wordpress installations (let's say wordpressX and wordpressY) with our LDAP. The DIT has different ou entries that contain groupOfNames for each wordpress installation.
cn=wp-managers,ou=wordpressX
cn=wp-managers,ou=wordpressY

Group-Filter is: (&(objectClass=groupOfNames)(member=%dn%))
This doesn't work because members of wp-managers,ou=wordpressX have access to the wordpressY site.

One option would be to include a 'group base dn' option in the ldapAuth config so that only groups under ou=wordpressX are filtered but I don't know if this is the best way.

How would you approach this?
Cheers!

@heiglandreas
Copy link
Owner

That might be possible once #145 is implemented.

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

2 participants