mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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>
This commit is contained in:
parent
8cd87d12d5
commit
2874fdbfef
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user