From c3a7894ab62135fdb461b707c8da5bc9a9141de8 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 22 Jun 2012 19:33:57 +0300 Subject: Use correct SID attribute for trusted domains We have two SID attributes, ipaNTSecurityIdentifier and ipaNTTrustedDomainSID. First is used for recording SID of our users/groups, second is to store SID of a remote trusted domain. --- ipalib/plugins/trust.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py index 2fd949cd2..7c5843c03 100644 --- a/ipalib/plugins/trust.py +++ b/ipalib/plugins/trust.py @@ -38,7 +38,7 @@ Manage trust relationship between realms trust_output_params = ( Str('ipantflatname', label=_('Domain NetBIOS name')), - Str('ipantsecurityidentifier', + Str('ipanttrusteddomainsid', label=_('Domain Security Identifier')), Str('trustdirection', label=_('Trust direction')), @@ -90,7 +90,7 @@ class trust(LDAPObject): object_name = _('trust') object_name_plural = _('trusts') object_class = ['ipaNTTrustedDomain'] - default_attributes = ['cn', 'ipantflatname', 'ipantsecurityidentifier', + default_attributes = ['cn', 'ipantflatname', 'ipanttrusteddomainsid', 'ipanttrusttype', 'ipanttrustattributes', 'ipanttrustdirection', 'ipanttrustpartner', 'ipantauthtrustoutgoing', 'ipanttrustauthincoming', 'ipanttrustforesttrustinfo', 'ipanttrustposixoffset', 'ipantsupportedencryptiontypes' ] -- cgit