mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add --all to LDAPCreate and make LDAP commands always display default attributes.
This commit is contained in:
committed by
Rob Crittenden
parent
b8016807eb
commit
74a5384169
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user