Univention Bugzilla – Bug 40813
sync ucs to ad should skip creation of objects missing in UDM
Last modified: 2017-11-01 13:49:20 CET
The S4 connector changes should be synced to the AD connector. +++ This bug was initially created as a clone of Bug #32263 +++ In a backup2master scenario the attached behaviour of the univention-s4-connector was observed, where an object is created by the S4 Connector which was deleted before both in UDM and Samba4. The S4 Connector should maybe better not attempt to create such an object? In this case it resulted in a reject (for some reason) and later led to the resurrection of the deleted object (in OpenLDAP, not in Samba4, which is not optimal either).
Please remove the skip_admember tag in 66_udm-computers/20_computer_password when this issue has been fixed.
Created attachment 8388 [details] Patches to the AD-Connector and a test-case The attached patches ports the storing of deleted object `entryUUID`s in the `UCS deleted` table from the s4-connector and copies the test case 022_concurrent_deletion_in_ucs from the s4-connector tests. Unfortunately this test does not fail prior to the ported patch. But it does fail after applying it either. All ad-connector tests are passing on a UCS master 4.1-4 with bidirectional sync against a Windows Server 2012 set to german.
Created attachment 8391 [details] Patches to the AD-Connector and a test-case Updated version of the patches with variable renamed from '*s4*' to '*ad*'.
Created attachment 8395 [details] Patches to the AD-Connector and a test-case (updated) Updated patches with fixed indentation.
Committed in r80899 (advisory r80906) Tests added/enabled in r80901/r80902.
OK - code review OK - test OK - YAML TODO wait for jenkins tests
OK
<http://errata.software-univention.de/ucs/4.2/205.html>