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.
This commit is contained in:
Alexander Bokovoy authored and Martin Kosek committed 2012-06-25 18:15:35 +02:00
1 parent c9954878b8
commit c3a7894ab6
1 file changed
+2 -2
+2 -2
View File
@@ -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' ]