summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/trust.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-04-17 19:06:52 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-04-28 13:45:09 +0200
commite31688909cbc5f7ab6c8d03bb28786a2dd29efe4 (patch)
treecac5f8e43172a377819a4506f81bfd074867bd0c /ipalib/plugins/trust.py
parent99691d117168e9ed95413f96f839b38320ac17f9 (diff)
downloadfreeipa-e31688909cbc5f7ab6c8d03bb28786a2dd29efe4.tar.gz
freeipa-e31688909cbc5f7ab6c8d03bb28786a2dd29efe4.tar.xz
freeipa-e31688909cbc5f7ab6c8d03bb28786a2dd29efe4.zip
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>
Diffstat (limited to 'ipalib/plugins/trust.py')
-rw-r--r--ipalib/plugins/trust.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py
index de838803f..2e6af1687 100644
--- a/ipalib/plugins/trust.py
+++ b/ipalib/plugins/trust.py
@@ -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')