summaryrefslogtreecommitdiffstats
path: root/ipalib
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 /ipalib
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
Diffstat (limited to 'ipalib')
-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 d25deb52..6817af41 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 42ffe750..49ab5ffe 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):