mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't allow IPA master hosts or important services be deleted.
Deleting these would cause the IPA master to blow up. For services I'm taking a conservative approach and only limiting the deletion of known services we care about. https://fedorahosted.org/freeipa/ticket/2425
This commit is contained in:
committed by
Martin Kosek
parent
915286fed2
commit
d4a1dc5712
@@ -560,6 +560,7 @@ class host_del(LDAPDelete):
|
||||
fqdn = hostentry['fqdn'][0]
|
||||
else:
|
||||
fqdn = keys[-1]
|
||||
host_is_master(ldap, fqdn)
|
||||
# Remove all service records for this host
|
||||
truncated = True
|
||||
while truncated:
|
||||
|
||||
Reference in New Issue
Block a user