diff options
author | Simo Sorce <ssorce@redhat.com> | 2012-10-05 11:25:29 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-10-09 10:33:14 +0200 |
commit | 874313eb0bf86fb9cf040812196cc0a59fb04203 (patch) | |
tree | 8e124b7ecc28c179b64fd78ef4af403bb2212228 /ipaserver | |
parent | 9a4b262b553ce0185430bc0fc58f3536167f00e6 (diff) | |
download | freeipa.git-874313eb0bf86fb9cf040812196cc0a59fb04203.tar.gz freeipa.git-874313eb0bf86fb9cf040812196cc0a59fb04203.tar.xz freeipa.git-874313eb0bf86fb9cf040812196cc0a59fb04203.zip |
Fix trust attributes for ipa trust-add
The RC4 flags in the trust attributes makes sense only fro trust type MIT
We are using the UPLEVEL trust type.
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/dcerpc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/dcerpc.py b/ipaserver/dcerpc.py index e7b41e6d..80e6b7c8 100644 --- a/ipaserver/dcerpc.py +++ b/ipaserver/dcerpc.py @@ -365,7 +365,7 @@ class TrustDomainInstance(object): info.sid = security.dom_sid(another_domain.info['sid']) info.trust_direction = lsa.LSA_TRUST_DIRECTION_INBOUND | lsa.LSA_TRUST_DIRECTION_OUTBOUND info.trust_type = lsa.LSA_TRUST_TYPE_UPLEVEL - info.trust_attributes = lsa.LSA_TRUST_ATTRIBUTE_FOREST_TRANSITIVE | lsa.LSA_TRUST_ATTRIBUTE_USES_RC4_ENCRYPTION + info.trust_attributes = lsa.LSA_TRUST_ATTRIBUTE_FOREST_TRANSITIVE try: dname = lsa.String() |