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
@@ -148,7 +148,7 @@ class service_add(LDAPCreate):
|
||||
doc='force principal name even if not in DNS',
|
||||
),
|
||||
)
|
||||
def pre_callback(self, ldap, dn, entry_attrs, *keys, **options):
|
||||
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):
|
||||
(service, hostname, realm) = split_principal(keys[-1])
|
||||
if service.lower() == 'host' and not options['force']:
|
||||
raise errors.HostService()
|
||||
|
||||
Reference in New Issue
Block a user