Univention Bugzilla – Bug 45226
AD-Connector: Rejects for non-ascii accounts are not handled properly due to sqlite encoding problem
Last modified: 2018-06-27 08:25:49 CEST
+++ This bug was initially created as a clone of Bug #44369 +++ We should also fix this in UCS 4.2 +++ This bug was initially created as a clone of Bug #44291 +++ If there is a reject for a DN containing non-ascii characters, then the reject cannot be saved into the corresponding sqlite database table. As a result it's not shown as reject and the S4-Connector is contantly trying to sync that object, spamming the s4-cconector.log: ======================================================================== 03.05.2016 01:33:13,727 LDAP (PROCESS): sync from ucs: [ group] [ add] cn=Domänen Gruppe,cn=groups,DC=ar41i2,DC=qa 03.05.2016 01:33:13,754 LDAP (ERROR ): sync_from_ucs: traceback during add object: cn=Domänen Gruppe,cn=groups,DC=ar41i2,DC=qa 03.05.2016 01:33:13,754 LDAP (ERROR ): sync_from_ucs: traceback due to addlist: [('objectClass', ['top', 'group']), ('groupType', [u'-2147483646']), ('sAMAccountName', [u'Dom\xe4nen Gruppe'])] 03.05.2016 01:33:13,754 LDAP (WARNING): sqlite: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. 03.05.2016 01:33:13,755 LDAP (WARNING): sqlite: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. 03.05.2016 01:33:13,756 LDAP (WARNING): sync failed, saved as rejected /var/lib/univention-connector/s4/1462231951.138939 ======================================================================== +++ This bug was initially created as a clone of Bug #44276 +++
What is the clone for?
(In reply to Florian Best from comment #1) > What is the clone for? Previously S4-Connector. Now AD-Connector.
Move to 4.3-0-errata. If a UCS 4.2 backport is needed, please clone this issue.
fixed with #45779 *** This bug has been marked as a duplicate of bug 45779 ***
Nothing to release.