summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/f_user.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-10-17 19:20:23 -0400
committerRob Crittenden <rcritten@redhat.com>2008-10-17 19:20:23 -0400
commitae8370be44d95b9f6793ded46ef81126aebef3e0 (patch)
tree22598861258663bc81ff53b0c2576a0b70faab15 /ipalib/plugins/f_user.py
parente66cd9599bb8eef124a6c890b9a1ae471b3b937f (diff)
downloadfreeipa-ae8370be44d95b9f6793ded46ef81126aebef3e0.tar.gz
freeipa-ae8370be44d95b9f6793ded46ef81126aebef3e0.tar.xz
freeipa-ae8370be44d95b9f6793ded46ef81126aebef3e0.zip
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.
Diffstat (limited to 'ipalib/plugins/f_user.py')
-rw-r--r--ipalib/plugins/f_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/f_user.py b/ipalib/plugins/f_user.py
index da0262b6..8b4def80 100644
--- a/ipalib/plugins/f_user.py
+++ b/ipalib/plugins/f_user.py
@@ -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: