diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2012-06-22 19:33:57 +0300 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-06-25 18:15:35 +0200 |
commit | c3a7894ab62135fdb461b707c8da5bc9a9141de8 (patch) | |
tree | 0d88ebb553394add381dc1032ee791fc839b7d89 | |
parent | c9954878b8404badc600de650d5b4de8ce9553f5 (diff) | |
download | freeipa-c3a7894ab62135fdb461b707c8da5bc9a9141de8.tar.gz freeipa-c3a7894ab62135fdb461b707c8da5bc9a9141de8.tar.xz freeipa-c3a7894ab62135fdb461b707c8da5bc9a9141de8.zip |
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.
-rw-r--r-- | ipalib/plugins/trust.py | 4 |
1 files 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' ] |