Univention Bugzilla – Bug 53510
S4-Connector reject for DNS Record after renaming windows Server
Last modified: 2021-06-29 14:08:49 CEST
Cause: A Windows-Server with the name index2 was joined into the daomain and after a long time renamed to pdfscan (the hostname was changed on the server). These is the last reject, which was still present. The hole sync ping pong is in the attached file. 31.05.2021 12:16:46.731 LDAP (WARNING): sync failed, saved as rejected /var/lib/univention-connector/s4/1622455580.689472 31.05.2021 12:16:46.732 LDAP (WARNING): Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 891, in __sync_file_from_ucs if ((old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new))): File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 2330, in sync_from_ucs self.lo_s4.rename(unicode(old_dn), object['dn']) File "/usr/lib/python2.7/dist-packages/univention/uldap.py", line 847, in rename self.rename_ext_s(dn, newrdn, serverctrls=serverctrls, response=response) File "/usr/lib/python2.7/dist-packages/univention/uldap.py", line 204, in _decorated return func(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/univention/uldap.py", line 866, in rename_ext_s rtype, rdata, rmsgid, resp_ctrls = self.lo.rename_s(dn, newrdn, newsuperior, serverctrls=serverctrls) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 449, in rename_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 514, in result3 resp_ctrl_classes=resp_ctrl_classes File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 521, in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call result = func(*args,**kwargs) ALREADY_EXISTS: {'info': 'Entry DC=pdfscan,DC=schein.ig,CN=MicrosoftDNS,DC=DomainDnsZones,DC=schein,DC=ig already exists', 'desc': 'Already exists'} I could remove the reject, because both data was consistent in samba and ldap.