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/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/user.py') diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index 44b0f7d5..97641a46 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -135,7 +135,7 @@ class user_add(LDAPCreate): msg_summary = _('Added user "%(value)s"') - def pre_callback(self, ldap, dn, entry_attrs, *keys, **options): + def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options): config = ldap.get_ipa_config()[1] entry_attrs.setdefault('loginshell', config.get('ipadefaultloginshell')) # hack so we can request separate first and last name in CLI -- cgit