- Feature: The enumerateUsers method has a parameter "exact_match" that
was only applied if the search was by logn or user id, since that is the way it is used in the standard PluggableAuthService plugins. However, the user folder searchUsers method can accept this parameter as well and thus limit searches by other criteria to exact matches. This is useful enough to implement, even though it breaks the standard. (http://www.dataflake.org/tracker/issue_00656) git-svn-id: http://svn.dataflake.org/svn/Products.LDAPMultiPlugins/trunk@1877 835909ba-7c00-0410-bfa4-884f43845301
This commit is contained in:
parent
bdc3bb93c6
commit
a0a1024e00
|
@ -6,6 +6,14 @@ To see earlier changes please see HISTORY.txt.
|
|||
1.9 (unreleased)
|
||||
----------------
|
||||
|
||||
- Feature: The enumerateUsers method has a parameter "exact_match" that
|
||||
was only applied if the search was by logn or user id, since that is
|
||||
the way it is used in the standard PluggableAuthService plugins.
|
||||
However, the user folder searchUsers method can accept this parameter
|
||||
as well and thus limit searches by other criteria to exact matches.
|
||||
This is useful enough to implement, even though it breaks the standard.
|
||||
(http://www.dataflake.org/tracker/issue_00656)
|
||||
|
||||
|
||||
1.8 (2009-02-17)
|
||||
----------------
|
||||
|
|
|
@ -225,7 +225,9 @@ class LDAPMultiPlugin(LDAPPluginBase):
|
|||
if not login and not id:
|
||||
ldap_criteria[login_attr] = ''
|
||||
|
||||
l_results = acl.searchUsers(**ldap_criteria)
|
||||
l_results = acl.searchUsers( exact_match=exact_match
|
||||
, **ldap_criteria
|
||||
)
|
||||
|
||||
for l_res in l_results:
|
||||
|
||||
|
|
Reference in New Issue