Univention Bugzilla – Bug 23289
univention-connector-list-rejected output encoding
Last modified: 2018-10-30 13:52:12 CET
DNs mit speziellen Zeichen (z.B. Accent ...) werden von univention-connector-list-rejected nicht korrekt ausgegeben.
Bzw. gibt da da auch Tracebacks: Traceback (most recent call last): File "/usr/sbin/univention-connector-list-rejected", line 168, in ? main() File "/usr/sbin/univention-connector-list-rejected", line 159, in main print "%s" % univention.connector.ad.encode_attrib(dn).encode('latin') UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2019' in position 27: ordinal not in range(256)
Created attachment 3841 [details] encode utf8 So bekommt man (zumindest mit einer UTF-8 Shell) deutlich bessere Ergebnisse und keinen Traceback.
Das tritt z.B. bei einem französischem AD auf. Betroffen ist neben univention-connector-list-rejected auch univention-adsearch.
*** Bug 35504 has been marked as a duplicate of this bug. ***
Created attachment 6027 [details] encoding.patch
This issue has been filed against UCS 2.4. UCS 2.4 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug". In this case please provide detailed information on how this issue is affecting you.