summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/f_group.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_group.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_group.py')
-rw-r--r--ipalib/plugins/f_group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/f_group.py b/ipalib/plugins/f_group.py
index 132e45efd..e83c870e9 100644
--- a/ipalib/plugins/f_group.py
+++ b/ipalib/plugins/f_group.py
@@ -168,7 +168,7 @@ class group_find(crud.Find):
object_type = ldap.get_object_type("cn")
if object_type and not kw.get('objectclass'):
- kw['objectclass'] = ldap.get_object_type("cn")
+ kw['objectclass'] = object_type
return ldap.search(**kw)
def output_for_cli(self, groups):