summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-07-08 13:40:02 +0200
committerPetr Vobornik <pvoborni@redhat.com>2016-07-13 18:37:15 +0200
commit2874fdbfef1e191cf858dabdd34d5a0cbdc5ef16 (patch)
tree53df67540bb988ebdefe3664e9aa433e65bb1ab1 /ipaserver
parent8cd87d12d53a98a8e386c06a7c5fddb1d38d990d (diff)
downloadfreeipa-2874fdbfef1e191cf858dabdd34d5a0cbdc5ef16.tar.gz
freeipa-2874fdbfef1e191cf858dabdd34d5a0cbdc5ef16.tar.xz
freeipa-2874fdbfef1e191cf858dabdd34d5a0cbdc5ef16.zip
host-find: do not show SSH key by default
Only function 'remove_sshpubkey_from_output_list_post' should be used in postcallbacks of *-find, otherwise only one entry will be cleaned up https://fedorahosted.org/freeipa/ticket/6043 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/plugins/host.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipaserver/plugins/host.py b/ipaserver/plugins/host.py
index 2c5cf48cb..f342b05c8 100644
--- a/ipaserver/plugins/host.py
+++ b/ipaserver/plugins/host.py
@@ -1077,7 +1077,6 @@ class host_find(LDAPSearch):
entry_attrs['managing'] = self.obj.get_managed_hosts(entry_attrs.dn)
convert_sshpubkey_post(entry_attrs)
- remove_sshpubkey_from_output_post(self.context, entry_attrs)
convert_ipaassignedidview_post(entry_attrs, options)
remove_sshpubkey_from_output_list_post(self.context, entries)