diff options
author | Pavel Zuna <pzuna@redhat.com> | 2009-12-10 16:39:24 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-01-11 13:28:05 -0500 |
commit | 74a538416999d84f7d3bd6cca4ab3655481ef848 (patch) | |
tree | e72e11e7092996946a439b6fd95cedf61e2fe2ba /ipalib/plugins/user.py | |
parent | b8016807ebb95b97f0a4631574be484371f4dcd0 (diff) | |
download | freeipa-74a538416999d84f7d3bd6cca4ab3655481ef848.tar.gz freeipa-74a538416999d84f7d3bd6cca4ab3655481ef848.tar.xz freeipa-74a538416999d84f7d3bd6cca4ab3655481ef848.zip |
Add --all to LDAPCreate and make LDAP commands always display default attributes.
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r-- | ipalib/plugins/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |