Bug 35903 - sync from ucs: 'otherTelephone': no such attribute for delete
sync from ucs: 'otherTelephone': no such attribute for delete
Status: RESOLVED DUPLICATE of bug 45252
Product: UCS Test
Classification: Unclassified
Component: S4 Connector
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Lukas Oyen
:
Depends on: 31172
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-11 14:50 CEST by Stefan Gohmann
Modified: 2018-11-01 19:53 CET (History)
7 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-09-11 14:50:54 CEST
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'}
============================================================================
Comment 1 Lukas Oyen univentionstaff 2017-08-23 14:48:00 CEST
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 ***