mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
trust plugin: Remove ipatrustauth{incoming,outgoing} from default attrs
These attributes contain secrets for the trusts and should not be returned by default. Also, search_display_attributes is modified to better match default_attributes Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -306,12 +306,11 @@ class trust(LDAPObject):
|
||||
object_name_plural = _('trusts')
|
||||
object_class = ['ipaNTTrustedDomain']
|
||||
default_attributes = ['cn', 'ipantflatname', 'ipanttrusteddomainsid',
|
||||
'ipanttrusttype', 'ipanttrustattributes', 'ipanttrustdirection', 'ipanttrustpartner',
|
||||
'ipantauthtrustoutgoing', 'ipanttrustauthincoming', 'ipanttrustforesttrustinfo',
|
||||
'ipanttrusttype', 'ipanttrustattributes', 'ipanttrustdirection',
|
||||
'ipanttrustpartner', 'ipanttrustforesttrustinfo',
|
||||
'ipanttrustposixoffset', 'ipantsupportedencryptiontypes' ]
|
||||
search_display_attributes = ['cn', 'ipantflatname',
|
||||
'ipanttrusteddomainsid', 'ipanttrusttype',
|
||||
'ipantsidblacklistincoming', 'ipantsidblacklistoutgoing' ]
|
||||
'ipanttrusteddomainsid', 'ipanttrusttype']
|
||||
|
||||
label = _('Trusts')
|
||||
label_singular = _('Trust')
|
||||
|
Reference in New Issue
Block a user