summaryrefslogtreecommitdiffstats
path: root/ipaserver/dcerpc.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2012-10-05 11:25:29 -0400
committerMartin Kosek <mkosek@redhat.com>2012-10-09 10:33:04 +0200
commit19a9376c72b1d17123f3ab1ad5a20480f725b90d (patch)
tree1a324952bb46dbee012dca4eea0b1782cb25c093 /ipaserver/dcerpc.py
parent70d7ec587a3af23e06baccf43f1b2b0d3cda373d (diff)
downloadfreeipa-19a9376c72b1d17123f3ab1ad5a20480f725b90d.tar.gz
freeipa-19a9376c72b1d17123f3ab1ad5a20480f725b90d.tar.xz
freeipa-19a9376c72b1d17123f3ab1ad5a20480f725b90d.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/dcerpc.py')
-rw-r--r--ipaserver/dcerpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/dcerpc.py b/ipaserver/dcerpc.py
index e7b41e6d8..80e6b7c87 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()