summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/host.py
diff options
context:
space:
mode:
authorOndrej Hamada <ohamada@redhat.com>2011-11-10 13:46:16 +0100
committerMartin Kosek <mkosek@redhat.com>2011-11-10 14:11:02 +0100
commit8089f2859c94223da3d33421c20e1d6ae21d9abf (patch)
tree36317d84c01291ec323e499fd65d59008d011ab7 /ipalib/plugins/host.py
parent843c0787b7e123801250b9a0fb5b974cd9fd7e7b (diff)
downloadfreeipa-8089f2859c94223da3d33421c20e1d6ae21d9abf.tar.gz
freeipa-8089f2859c94223da3d33421c20e1d6ae21d9abf.tar.xz
freeipa-8089f2859c94223da3d33421c20e1d6ae21d9abf.zip
Misleading Keytab field
The 'Keytab' field in output of all 'user-*' commands was changed to 'Kerberos keys available'. In order to do this change for 'user-*' commands only, the flag 'has_keytab' had to be removed from common output parametrs in ipalib/baseldap.py. This change also affected the host.py and service.py, where the 'has_keytab' flag was added to their local output params. Both host.py and service.py holds the old field caption - 'Keytab' - because of compatibility with older clients. https://fedorahosted.org/freeipa/ticket/1961
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r--ipalib/plugins/host.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 0f3f91565..6557880aa 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -162,6 +162,9 @@ def remove_fwd_ptr(ipaddr, host, domain, recordtype):
pass
host_output_params = (
+ Flag('has_keytab',
+ label=_('Keytab'),
+ ),
Str('managedby_host',
label='Managed by',
),