Problems after upgrade to v. 5

Hi,

I figured I can’y change user password after upgrade to v. 5 so I ran diagnostic and get “S4 connector rejects”.
I followed some topics but cannot get it to work.

univention-s4connector-list-rejected

UCS rejected

    1:   UCS DN: <NORESYNC=broken file:1668606664.576182>;unknown
          S4 DN: <not found>
         Filename: /var/lib/univention-connector/s4/1668606664.576182


S4 rejected


        last synced USN: 3495197

than when I try run remove_ucs_rejected.py script I get following:

/usr/share/univention-s4-connector/remove_ucs_rejected.py '<NORESYNC=broken file:1668606664.576182>;unknown'
Traceback (most recent call last):
  File "/usr/share/univention-s4-connector/remove_ucs_rejected.py", line 73, in <module>
    remove_ucs_rejected(ucs_dn)
  File "/usr/share/univention-s4-connector/remove_ucs_rejected.py", line 55, in remove_ucs_rejected
    if univention.uldap.access.compare_dn(ucs_dn, rejected_dn):
  File "/usr/lib/python3/dist-packages/univention/uldap.py", line 950, 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

How to fix this issue?

OK, some update and additional informations.
There was a bunch other errors after update - some LDAP and others which I already fixed following solutions I found on forum.
So the password changing, adding users - it already works (I think it was LDAP errors related).
But S4 Connector rejects still exist…

How to fix it? Any help?

Mastodon