mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't allow hosts and services of IPA masters to be disabled.
https://fedorahosted.org/freeipa/ticket/2487
This commit is contained in:
committed by
Martin Kosek
parent
95df146346
commit
35521ad6bb
@@ -850,6 +850,8 @@ class host_disable(LDAPQuery):
|
||||
else:
|
||||
fqdn = keys[-1]
|
||||
|
||||
host_is_master(ldap, fqdn)
|
||||
|
||||
# See if we actually do anthing here, and if not raise an exception
|
||||
done_work = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user