summaryrefslogtreecommitdiffstats
path: root/ipaserver
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:14 +0200
commit874313eb0bf86fb9cf040812196cc0a59fb04203 (patch)
tree8e124b7ecc28c179b64fd78ef4af403bb2212228 /ipaserver
parent9a4b262b553ce0185430bc0fc58f3536167f00e6 (diff)
downloadfreeipa.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.py2
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()