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
2012-06-22 19:33:57 +03:00
committed by Martin Kosek
parent c9954878b8
commit c3a7894ab6

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' ]