Univention Bugzilla – Bug 57059
Prevent the input of more than 64 characters in attribute "title"
Last modified: 2024-02-14 16:21:17 CET
A customer used the title attribute as additional description space. When more than 64 characters have been entered, this causes an reject in the s4-connector. 14.02.2024 12:18:42.162 LDAP (ERROR ): sync_from_ucs: traceback due to modlist: [(2, 'personalTitle', [b'Leitung Ressourcenmanagement und NachhaltigkeitsmanagementTest123'])] 14.02.2024 12:18:42.166 LDAP (WARNING): sync failed, saved as rejected /var/lib/univention-connector/s4/1707909519.919329 14.02.2024 12:18:42.167 LDAP (WARNING): Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/s4connector/_init_.py", line 810, in __sync_file_from_ucs if not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new): File "/usr/lib/python3/dist-packages/univention/s4connector/s4/_init_.py", line 2269, in sync_from_ucs self.lo_s4.lo.modify_ext_s(object['dn'], modlist, serverctrls=self.serverctrls_for_add_and_modify) File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 602, in modify_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 749, in result3 resp_ctrl_classes=resp_ctrl_classes File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 756, in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 329, in _ldap_call reraise(exc_type, exc_value, exc_traceback) File "/usr/lib/python3/dist-packages/ldap/compat.py", line 44, in reraise raise exc_value File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 313, in _ldap_call result = func(args,*kwargs) ldap.INVALID_SYNTAX: