It would be useful to filter users based ldap attributes. It can be used to require ldap groupmemberships before user can login or many different ways, with out need to write own php-based filter.
Attached patch against version 6.x-1.0-beta1 that adds textfield where you can define ldap search filter to filter out ldap users.
| Comment | File | Size | Author |
|---|---|---|---|
| user_search_filter.patch | 7.72 KB | petria |
Comments
Comment #1
bibo commentedsubscribe
Comment #2
librarywebchic commentedI'd like to see this functionality added as well.
Comment #3
cgmonroe commentedThe latest -dev version contains a lot of changes to the ldapgroups module. This offers a lot of different way to implement this. These include Group Access Rules that let you define rule to allow or deny user access / account creation.
If this doesn't meet your needs, there are several new hooks, hook_ldap_user_groups_alter, hook_ldap_user_roles_alter, hood_ldap_user_deny that can be used to support site specific requirements via external modules.
Marking this as fixed.
For details see: #1475272: 6.x-1.0 Release Candidate 1 Status