Bug 56400 - Broken rejects cannot removed anymore
Broken rejects cannot removed anymore
Status: NEW
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
https://help.univention.com/t/problem...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-08-03 15:18 CEST by Christina Scheinig
Modified: 2023-08-03 15:22 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christina Scheinig univentionstaff 2023-08-03 15:18:38 CEST
This also occurs in the AD-Connector

UCS rejected

    1:   UCS DN: <NORESYNC=broken file:.1690362720.478507.swp>;unknown
          AD DN: <not found>
         Filename: /var/lib/univention-connector/ad/.1690362720.478507.swp


root@primary:~# /usr/share/univention-ad-connector/remove_ucs_rejected.py  "<NORESYNC=broken file:.1690362720.478507.swp>;unknown"
Traceback (most recent call last):
  File "/usr/share/univention-ad-connector/remove_ucs_rejected.py", line 85, in <module>
    remove_ucs_rejected(ucs_dn)
  File "/usr/share/univention-ad-connector/remove_ucs_rejected.py", line 58, in remove_ucs_rejected
    elif not 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