Univention Bugzilla – Bug 42716
Invalid code in S4-Connector dns_dn_mapping for _msdcs
Last modified: 2016-11-30 15:45:51 CET
Created attachment 8130 [details] msdcs_soadn_fix.diff As Lukas discovered today there is an invalid code line in the dns_dn_mapping function of the S4-Connector: _rdn = [s4_RR_attr.upper() + '=' + target_zone_dn] + rdn[2:] target_zone_dn = ','.join(_rdn) This looks like a typo, I guess this should be: _rdn = [s4_RR_attr.upper() + '=' + target_zone_name] + rdn[2:] No clue if this has any impact currently, but it would be good to fix this, see attached patch.
The function also does no LDAP DN escaping.
This is probably one reason why we catched and ignored ldap.INVALID_DN_SYNTAX.
*** This bug has been marked as a duplicate of bug 32086 ***