From ae8370be44d95b9f6793ded46ef81126aebef3e0 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 17 Oct 2008 19:20:23 -0400 Subject: 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. --- ipalib/plugins/f_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/f_group.py') 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): -- cgit