Bug 16655 - DECODING_ERROR Tracebacks bei Synchronisation von Windows 2008 nach UCS
DECODING_ERROR Tracebacks bei Synchronisation von Windows 2008 nach UCS
Status: RESOLVED DUPLICATE of bug 17583
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 2.3
Other Linux
: P2 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-01 16:24 CET by Andre Fenske
Modified: 2010-02-09 16:23 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 Andre Fenske univentionstaff 2009-12-01 16:24:47 CET
Bei der Synchronisation zwischen einem UCS 2.3-0 und einem Windows 2008 treten sehr viele "DECODING_ERROR"-Tracebacks auf.

Dies hat zur folge das keine Benutzer vom AD zum UCS-System synchronisiert werden.

Anbei der Traceback:

Mon Nov 30 23:07:11 2009
Exception during poll/sync_to_ucs
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/univention/connector/ad/__init__.py", line 1644, in poll
    sync_successfull = self.sync_to_ucs(property_key, mapped_object, object['dn'])
  File "/usr/lib/python2.4/site-packages/univention/connector/__init__.py", line 985, in sync_to_ucs
    'sync_to_ucs: set position to %s' % string.join( ldap.explode_dn( object['dn'] )[1:], "," ) )
  File "/usr/lib/python2.4/site-packages/ldap/dn.py", line 79, in explode_dn
    dn_decomp = str2dn(dn,flags)
  File "/usr/lib/python2.4/site-packages/ldap/dn.py", line 53, in str2dn
    return ldap.functions._ldap_function_call(_ldap.str2dn,dn,flags)
  File "/usr/lib/python2.4/site-packages/ldap/functions.py", line 58, in _ldap_function_call
    result = func(*args,**kwargs)
DECODING_ERROR
Comment 1 Stefan Gohmann univentionstaff 2009-12-01 16:27:10 CET
Bitte prüfe das einmal mit UCS 2.2-2.
Comment 2 Andre Fenske univentionstaff 2009-12-02 10:35:46 CET
Ich habe das noch einmal mit einem UCS 2.2-0, einem 2.2-2, einem 2.2-2-sec3 und einem 2.3-0 System nachgestellt.

Die Replikation hat ohne entsprechende Tracebacks nach jedem Update funktioniert.

Mit 2.3-0 habe ich noch einmal explizit  besonders lange Namen ( incl. Leer- und Sonderzeichen wie sie von Windows 2008 verwendet werden) getestet. Auch das hat funktioniert.
Comment 3 Andre Fenske univentionstaff 2009-12-02 13:34:12 CET
Ich hab jetzt ein UCS 2.3-0 neu installiert und dieses einmal gegen das Windows 2008 konfiguriert welches für die Tests aus Kommentar 2 benutzt wurde.

Da dies erfolgreich war habe ich das UCS System gegen das Windows 2008 mit dem ich die Probleme hatte konfiguriert (nur Winidows 2008 Modus).

Auch hier hat die Synchronisation wieder funktioniert.

Das Problem muss also entweder irgendwo zwischen dem original UCS 2.3-0 System (mit dem die Fehler auftraten) und dem 2088-AD liegen oder nur auf UCS Seite.
Comment 4 Andre Fenske univentionstaff 2009-12-04 13:43:58 CET
Ich habe mir das etwas näher angeschaut.

Intern wird die Funktion _ldap.str2dn aufgerufen. Diese erhält als Parameter den Wert u'CN=Dom\xe4nencontroller ohne Schreibzugriff,CN=Users,DC=ad2k8'.

Die Funktion versucht nun den Unicode-String in ASCII umzuwandeln. Da dies fehlschlägt tritt der Traceback auf.

Das Problem tritt mit der Windows 2008 QA-VM "Windows.2008.Server.updated" auf,
mit der 2008 QA VM für die AD 2.2-0 Tests jedoch nicht.
Comment 5 Stefan Gohmann univentionstaff 2010-02-09 16:23:44 CET

*** This bug has been marked as a duplicate of bug 17583 ***