Group search by title returns all groups
Bug #656011 reported by
Ross Patterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Products.LDAPMultiPlugins |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When searching for groups using PAS enumerateGroups with a "title" kwarg, all groups are returned. In Products.
Changed in products.ldapmultiplugins: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Jens Vagelpohl (dataflake) |
To post a comment you must log in.
The attached patch fixes the problem on my client's deployment. It's a pretty dumb patch, I just copied the code from LDAPUserFolder that assembles the LDAP delegate query string from kwargs and pasted it into the ActiveDirectory MultiPlugin. enumerateGroups method. I note that the LDAPMultiPlugin .enumerateGroup s() actually calls acl.searchGroups and I was unable to figure out if there was a reason that ActiveDirectory MultiPlugin. enumerateGroups () does not. I also didn't add test coverage for this or run the tests. Sorry, I'm just not familiar enough with this stack.