Univention Bugzilla – Bug 34522
Incorrect DN split in univention/uldap.py
Last modified: 2016-07-20 10:59:07 CEST
',' in RDNs might be esacped as '\n', which breaks splitting, probably use <http://www.python-ldap.org/doc/html/ldap-dn.html#ldap.dn.str2dn>: /usr/share/pyshared/univention/uldap.py: 52 pos=dn.find(',')+1 61 exploded_dn=dn.split(',') 461 if dn.startswith(key+'='): Does not work with multi-valued RDN, e.g. "foo=1+bar=2" 522 oldrdn = dn[:dn.find(',')] 523 oldsdn = dn[dn.find(',')+1:] 524 newrdn = newdn[:newdn.find(',')] 525 newsdn = newdn[newdn.find(',')+1:]
r70653 Bug #40129: use official python-LDAP utilities r70685 Bug #40041: make renaming of multi valued RDNs possible ... *** This bug has been marked as a duplicate of bug 40129 ***
<http://errata.software-univention.de/ucs/4.1/207.html> <http://errata.software-univention.de/ucs/4.1/208.html>