mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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.
This commit is contained in:
parent
70d7ec587a
commit
19a9376c72
@ -365,7 +365,7 @@ class TrustDomainInstance(object):
|
|||||||
info.sid = security.dom_sid(another_domain.info['sid'])
|
info.sid = security.dom_sid(another_domain.info['sid'])
|
||||||
info.trust_direction = lsa.LSA_TRUST_DIRECTION_INBOUND | lsa.LSA_TRUST_DIRECTION_OUTBOUND
|
info.trust_direction = lsa.LSA_TRUST_DIRECTION_INBOUND | lsa.LSA_TRUST_DIRECTION_OUTBOUND
|
||||||
info.trust_type = lsa.LSA_TRUST_TYPE_UPLEVEL
|
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:
|
try:
|
||||||
dname = lsa.String()
|
dname = lsa.String()
|
||||||
|
Loading…
Reference in New Issue
Block a user