Univention Bugzilla – Bug 55774
Broken rejects cannot removed anymore
Last modified: 2023-03-08 16:36:30 CET
Since UCS 5.0-3 broken rejects cannot be removed anymore with the existing script. :~# univention-s4connector-list-rejected UCS rejected 1: UCS DN: <NORESYNC=broken file:1662385994.371622>;unknown S4 DN: <not found> Filename: /var/lib/univention-connector/s4/1662385994.371622 2: UCS DN: <NORESYNC=broken file:1662385995.702051>;unknown S4 DN: <not found> Filename: /var/lib/univention-connector/s4/1662385995.702051 ------------------- :~# /usr/share/univention-s4-connector/remove_ucs_rejected.py "<NORESYNC=broken file:1662385994.371622>;unknown" config filename: /var/lib/univention-connector/s4/1662385994.371622 rejected_dn: <NORESYNC=broken file:1662385994.371622>;unknown Traceback (most recent call last): File "/usr/share/univention-s4-connector/remove_ucs_rejected.py", line 74, in <module> remove_ucs_rejected(ucs_dn) File "/usr/share/univention-s4-connector/remove_ucs_rejected.py", line 58, in remove_ucs_rejected if univention.uldap.access.compare_dn(ucs_dn, rejected_dn): File "/usr/lib/python3/dist-packages/univention/uldap.py", line 962, in compare_dn return [sorted((x.lower(), y, z) for x, y, z in rdn) for rdn in ldap.dn.str2dn(a)] == [sorted((x.lower(), y, z) for x, y, z in rdn) for rdn in ldap.dn.str2dn(b)] File "/usr/lib/python3/dist-packages/ldap/dn.py", line 52, in str2dn return ldap.functions._ldap_function_call(None,_ldap.str2dn,dn,flags) File "/usr/lib/python3/dist-packages/ldap/functions.py", line 55, in _ldap_function_call result = func(*args,**kwargs) ldap.DECODING_ERROR
MR: https://git.knut.univention.de/univention/ucs/-/merge_requests/690
univention-s4-connector.yaml 58b991f6b782 | chore(univention-{ad,s4}-connector): update advisory univention-s4-connector (14.0.13-2) 474c20318ed0 | fix(s4c): fix exception logging for Python 3 50b04abb9563 | fix(s4c): fix list-ucs-rejected for invalid pickle file rejects univention-ad-connector.yaml 58b991f6b782 | chore(univention-{ad,s4}-connector): update advisory univention-ad-connector (14.0.13-4) d4f303bad19a | fix(adc): fix exception logging for Python 3 04301b7a747a | fix(adc): fix list-ucs-rejected for invalid pickle file rejects
* OK - univention-ad-connector 14.0.13-4A~5.0.0.202303031513 * OK - univention-s4-connector 14.0.13-2A~5.0.0.202303031516 TOOD * please update version in yaml files
5712a28715 chore(univention-{ad,s4}-connector): update advisory
<https://errata.software-univention.de/#/?erratum=5.0x608> <https://errata.software-univention.de/#/?erratum=5.0x609>