mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Port f_service to LDAP backend
Add new keyword, 'filter', that can be passed to the search function. This is globbed onto the filter that is auto-created.
This commit is contained in:
@@ -243,7 +243,7 @@ class user_find(crud.Find):
|
||||
|
||||
object_type = ldap.get_object_type("uid")
|
||||
if object_type and not kw.get('objectclass'):
|
||||
kw['objectclass'] = ldap.get_object_type("uid")
|
||||
kw['objectclass'] = object_type
|
||||
return ldap.search(**kw)
|
||||
def output_for_cli(self, users):
|
||||
if not users:
|
||||
|
||||
Reference in New Issue
Block a user