Bug 23612 - AD-Connector kann User mit gesetztem User-Zertifikat nicht synchronisieren
AD-Connector kann User mit gesetztem User-Zertifikat nicht synchronisieren
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 3.0 - RC
Assigned To: Stefan Gohmann
Felix Botner
:
Depends on: 23983
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-14 12:28 CEST by Ingo Steuwer
Modified: 2011-12-13 15:51 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Steuwer univentionstaff 2011-09-14 12:28:45 CEST
Aufgefallen an:

Ist an einem User ein Benutzerzertifikat (Attribut userCertificate;binary) gesetzt, schlägt das Einlesen des pickle-File fehl. 

Beispiel aus connector-tracebacks.log:

sync failed, saved as rejected 
        /var/lib/univention-connector/ad/1315916898.209433
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/univention/connector/__init__.py", line 664, in resync_rejected_ucs
    if self.__sync_file_from_ucs(filename, append_error=' rejected'):
  File "/usr/lib/python2.4/site-packages/univention/connector/__init__.py", line 486, in __sync_file_from_ucs
    new = recode_attribs(new)
  File "/usr/lib/python2.4/site-packages/univention/connector/__init__.py", line 482, in recode_attribs
    nvals.append(unicode(val,'utf8'))
  File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 1: unexpected code byte
Comment 1 Ingo Steuwer univentionstaff 2011-09-14 12:29:14 CEST
Aufgefallen an 2011091310002098
Comment 2 Stefan Gohmann univentionstaff 2011-10-25 17:28:00 CEST
fixed
Comment 3 Felix Botner univentionstaff 2011-11-28 16:19:55 CET
funktioniert, getestet mit w2k3 und w2k8

Changelog Eintrag vorhanden.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2011-12-13 15:51:02 CET
UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"