diff options
author | Rob Crittenden <rcritten@redhat.com> | 2012-03-19 10:16:49 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-03-19 16:09:09 +0100 |
commit | 35521ad6bb92057d5faefa2059d7d800bebb1af0 (patch) | |
tree | a9a0473fbb2eefada28c6a0adba5004afff82dae /ipalib/plugins/host.py | |
parent | 95df14634663f5ef57875b8ce1e54ca14c111a75 (diff) | |
download | freeipa.git-35521ad6bb92057d5faefa2059d7d800bebb1af0.tar.gz freeipa.git-35521ad6bb92057d5faefa2059d7d800bebb1af0.tar.xz freeipa.git-35521ad6bb92057d5faefa2059d7d800bebb1af0.zip |
Don't allow hosts and services of IPA masters to be disabled.
https://fedorahosted.org/freeipa/ticket/2487
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r-- | ipalib/plugins/host.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |