Don't allow hosts and services of IPA masters to be disabled.

https://fedorahosted.org/freeipa/ticket/2487
This commit is contained in:
Rob Crittenden
2012-03-19 10:16:49 -04:00
committed by Martin Kosek
parent 95df146346
commit 35521ad6bb
5 changed files with 42 additions and 8 deletions

View File

@@ -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