-
Notifications
You must be signed in to change notification settings - Fork 71
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 LDAP user_filter and group_filter config settings #60
Comments
Perhaps user_filter and group_filter would be better names. |
|
This is not entirely true. Although we do fetch based on the member attribute, we do still fetch from groups. While it shouldn't be necessary, it would be good to add it for safety anyway. |
Now i get everywhere access denied. |
Forget it. Sorry. |
Ok, i get everywhere access denied right now if a user filter is set. |
Is your user filter correct? If it doesn't match any users that would be likely to cause all users to be deactivated. |
Ok with user_filter = "(objectClass=user)" it is working. |
Thank you very much ;) |
And the other problem at first login? |
Ok, glad we finally got that sorted :) Now just to fix that last bug... |
Really great, thanks for spending your time. |
If users and groups are in the same subtree in LDAP, very confusing things can happen (eg. lines 44-52 of
views/server.php
will find a "user" that is actually a group when trying to add a group as an admin of a server).If we add some optional
user_query
andgroup_query
attributes to filter them separately then we can avoid this problem and support a greater variety of LDAP structures.The text was updated successfully, but these errors were encountered: