Bug 49696 - sync_to_ucs may recreate objects already deleted in OpenLDAP
sync_to_ucs may recreate objects already deleted in OpenLDAP
Status: NEW
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-06-19 12:31 CEST by Arvid Requate
Modified: 2021-03-02 21:42 CET (History)
5 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 Arvid Requate univentionstaff 2019-06-19 12:31:23 CEST
sync_to_ucs may recreate objects already deleted in OpenLDAP. This was reported from the observation of flaky ucs-test. Looks like a race condition.

Unfortunately we have no proof for this in form of connector-s4.log. But code review and analysis of a sync sequence diagram indicate that this case is possible theoretically.

For Bug #47374 Felix added a method was_objectGUID_deleted_by_ucs(objectGUID) that should be used in add_in_ucs to avoid this case.
Comment 1 Florian Best univentionstaff 2021-03-02 21:42:23 CET
Is this still possible with UCS 5.0?