From 74a538416999d84f7d3bd6cca4ab3655481ef848 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Thu, 10 Dec 2009 16:39:24 +0100 Subject: Add --all to LDAPCreate and make LDAP commands always display default attributes. --- ipalib/plugins/netgroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/netgroup.py') diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py index 5a3ad729e..66508b695 100644 --- a/ipalib/plugins/netgroup.py +++ b/ipalib/plugins/netgroup.py @@ -96,7 +96,7 @@ class netgroup_add(LDAPCreate): """ Create new netgroup. """ - def pre_callback(self, ldap, dn, entry_attrs, *keys, **options): + def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options): if not dn.startswith('cn='): msg = 'netgroup with name "%s" already exists' % keys[-1] raise errors.DuplicateEntry(message=msg) -- cgit