S4 not synced objects


#1

i have got a replication error - what can i do in order to resolve this?:

root@pdc-scz:~# univention-s4connector-list-rejected

UCS rejected
S4 rejected
1: S4 DN: OU=workstations,OU=SCZ_COMPUTER,OU=SCZ-OU,DC=scz,DC=intranet
UCS DN: ou=workstations,ou=scz_computer,ou=scz-ou,dc=scz,dc=intranet
2: S4 DN: CN=Administrator,OU=scz_admins,OU=SCZ-OU,DC=scz,DC=intranet
UCS DN: uid=administrator,ou=scz_admins,ou=scz-ou,dc=scz,dc=intranet
last synced USN: 11095


#2

Good day miconx,

you can to have a look at the relevant log files to determine the reason for the reject. The relevant log file is

 /var/log/univention/connector-s4.log.

You might find the documentation below helpful.

https://help.univention.com/t/how-to-deal-with-s4-connector-rejects/33

Regards

Anna Takang

Anna Takang


#3

iget the following error : (the change within the directory database was a rename from small letters to capital letters - maybe this is a bug in the sync script - which cannot handle this situation??)

21.11.2017 10:15:55,403 LDAP (PROCESS): sync to ucs: Resync rejected dn: OU=workstations,OU=SCZ_COMPUTER,OU=SCZ-OU,DC=scz,DC=intranet
21.11.2017 10:15:55,405 LDAP (PROCESS): sync to ucs: [ ou] [ add] ou=workstations,ou=scz_computer,ou=scz-ou,dc=scz,dc=intranet
21.11.2017 10:15:55,418 LDAP (ERROR ): Unknown Exception during sync_to_ucs
21.11.2017 10:15:55,418 LDAP (ERROR ): Traceback (most recent call last):
File “/usr/lib/pymodules/python2.7/univention/s4connector/init.py”, line 1570, in sync_to_ucs
result = self.add_in_ucs(property_type, object, module, position)
File “/usr/lib/pymodules/python2.7/univention/s4connector/init.py”, line 1344, in add_in_ucs
res = ucs_object.create(serverctrls=serverctrls, response=response)
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 474, in add
raise univention.admin.uexceptions.objectExists(dn)
objectExists: ou=workstations,ou=scz_computer,ou=scz-ou,dc=scz,dc=intranet


#4

ok i followed the steps in the “How to deal with s4-connector rejects” and now the error is gone
thanks


#5

you are welcome.

Regards

Anna