From 35521ad6bb92057d5faefa2059d7d800bebb1af0 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 19 Mar 2012 10:16:49 -0400 Subject: Don't allow hosts and services of IPA masters to be disabled. https://fedorahosted.org/freeipa/ticket/2487 --- ipalib/plugins/host.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipalib/plugins/host.py') diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py index 9db98e71..662cff31 100644 --- a/ipalib/plugins/host.py +++ b/ipalib/plugins/host.py @@ -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 -- cgit