Univention Bugzilla – Bug 35903
sync from ucs: 'otherTelephone': no such attribute for delete
Last modified: 2018-11-01 19:53:20 CET
Please check if a test case is possible. +++ This bug was initially created as a clone of Bug #31172 +++ During the initial sync of the S4 connector on a DC Master tracebacks like the following occur for a couple of users in a specific customer environment. We should identify the cause and try to avoid this in den connector code: ============================================================================ 23.04.2013 11:34:15,3 LDAP (PROCESS): sync from ucs: [ user] [ add] cn=user123,cn=users,ou=ou1,dc=foo,dc=bar 23.04.2013 11:34:15,54 LDAP (WARNING): sync failed, saved as rejected 23.04.2013 11:34:15,54 LDAP (WARNING): Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 753, in __sync_file_from_ucs or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old))): File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/__init__.py", line 2243, in sync_from_ucs self.lo_s4.lo.modify_ext_s(compatible_modstring(object['dn']), compatible_modlist(modlist), serverctrls=ctrls) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 295, in modify_ext_s return self.result(msgid,all=1,timeout=self.timeout) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 422, in result res_type,res_data,res_msgid = self.result2(msgid,all,timeout) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 426, in result2 res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 432, in result3 ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call result = func(*args,**kwargs) NO_SUCH_ATTRIBUTE: {'info': "attribute 'otherTelephone': no such attribute for delete on 'CN=user123,CN=users,OU=ou1,DC=foo,DC=bar'", 'desc': 'No such attribute'} ============================================================================
The bug #45252 fixes the S4C and includes a new test-case that solves this issue. *** This bug has been marked as a duplicate of bug 45252 ***