-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-8.4.0
-
None
-
Low
-
1
-
rhel-idm-ipa
-
ssg_idm
-
None
-
False
-
False
-
-
None
-
IPA: RHELs for 10.2 and 9.8
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
-
57,005
Description of problem:
If the AD forest root has a mix case name the this is preserved for the trust object. It looks like netr_DsRGetForestTrustInformation returns this name in all lower case, which is ok since DNS names are case-insensitive.
Unfortunately there is a case-sensitive comparison in fetch_domains():
for t in domains.entries:
if t.type == lsa.LSA_FOREST_TRUST_DOMAIN_INFO:
tname = unicode(t.forest_trust_data.dns_domain_name.string)
if tname == trustdomain: <<<<<<<<<<<<<<<<<<<<<<<<<<
continue
result['domains'][tname] =
elif t.type == lsa.LSA_FOREST_TRUST_TOP_LEVEL_NAME:
tname = unicode(t.forest_trust_data.string)
if tname == trustdomain:
and as a result the forest root is added a second time as forest member which casuse all kind of unexpected behavior.