...
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] = { 'cn': tname, 'ipantflatname': unicode( t.forest_trust_data.netbios_domain_name.string), 'ipanttrusteddomainsid': unicode( t.forest_trust_data.domain_sid) } 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.
Unresolved
Click on a version to see all relevant bugs
Red Hat Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.