I have the this issue in active directory and half of my accounts which are in AD are not imported.
27.01.2018 10:01:38,212 LDAP (WARNING): sync to ucs was not successfull, save rejected
27.01.2018 10:01:38,212 LDAP (WARNING): object was: CN=سید مهرداد محروقی,OU=Iranserver,OU=Clients,OU=GreenWeb,DC=greenweb,DC=local
27.01.2018 10:01:38,212 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.
27.01.2018 10:01:38,213 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.
27.01.2018 10:01:38,229 LDAP (PROCESS): sync to ucs: [ user] [ add] uid=a.mohamadabadi,ou=design,ou=clients,ou=greenweb,dc=greenweb,dc=local
27.01.2018 10:01:38,631 LDAP (ERROR ): Unknown Exception during sync_to_ucs
27.01.2018 10:01:38,631 LDAP (ERROR ): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.7/univention/connector/init.py”, line 1342, in sync_to_ucs
result = self.add_in_ucs(property_type, object, module, position)
File “/usr/lib/pymodules/python2.7/univention/connector/init.py”, line 1185, in add_in_ucs
return ucs_object.create() and self.__modify_custom_attributes(property_type, object, ucs_object, module, position)
File “/usr/lib/pymodules/python2.7/univention/admin/handlers/init.py”, line 381, in create
dn = self._create(response=response, serverctrls=serverctrls)
File “/usr/lib/pymodules/python2.7/univention/admin/handlers/init.py”, line 1036, in _create
self.lo.add(self.dn, al, serverctrls=serverctrls, response=response)
File “/usr/lib/pymodules/python2.7/univention/admin/uldap.py”, line 482, in add
raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: No such object