summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2011-02-07 12:57:53 -0500
committerRob Crittenden <rcritten@redhat.com>2011-02-10 13:42:26 -0500
commitbfe33760d16a8b7828afd4a7125f7d79cd495d9e (patch)
tree9f85979cc0780ccc0c7e2c6bc6b996a334becdd0
parentd9eb19b0e83222ae4a0f69f3adec6a1f80dbec38 (diff)
downloadfreeipa-bfe33760d16a8b7828afd4a7125f7d79cd495d9e.tar.gz
freeipa-bfe33760d16a8b7828afd4a7125f7d79cd495d9e.tar.xz
freeipa-bfe33760d16a8b7828afd4a7125f7d79cd495d9e.zip
Display error messages for failed manageby in service-add/remove-host.
Fix #830
-rw-r--r--ipalib/plugins/baseldap.py3
-rw-r--r--ipalib/plugins/host.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py
index d25deb527..6817af413 100644
--- a/ipalib/plugins/baseldap.py
+++ b/ipalib/plugins/baseldap.py
@@ -137,6 +137,9 @@ global_output_params = (
Str('memberuser',
label=_('Failed users/groups'),
),
+ Str('managedby',
+ label=_('Failed managedby'),
+ ),
Str('failed',
label=_('Failed to remove'),
flags=['suppress_empty'],
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 42ffe750c..49ab5ffe7 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -161,10 +161,6 @@ host_output_params = (
Str('revocation_reason?',
label=_('Revocation reason'),
),
- Str('managedby?',
- label=_('Failed managedby'),
- flags=['no_create', 'no_update'],
- )
)
def validate_ipaddr(ugettext, ipaddr):