summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/f_group.py
diff options
context:
space:
mode:
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 132e45ef..e83c870e 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):