1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source4/selftest
Stefan Metzmacher a1658b306d dbcheck: detect the change after deletion bug
Old versions of 'samba-tool dbcheck' could reanimate
deleted objects, when running at the same time as the
tombstone garbage collection.

When the (deleted) parent of a deleted object
(with the DISALLOW_MOVE_ON_DELETE bit in systemFlags),
is removed before the object itself, dbcheck moved
it in the LostAndFound[Config] subtree of the partition
as an originating change. That means that the object
will be in tombstone state again for 180 days on the local
DC. And other DCs fail to replicate the object as
it's already removed completely there and the replication
only gives the name and lastKnownParent attributes, because
all other attributes should already be known to the other DC.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13816

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-03-14 02:12:20 +00:00
..
provisions dbcheck: detect the change after deletion bug 2019-03-14 02:12:20 +00:00
win testsuite: Remove build_farm testsuites 2019-03-12 02:56:05 +00:00
test_samba3dump.sh s4/scripting: PY3 Ensure python scripts are run with correct python ver. 2018-10-23 05:50:25 +02:00
test_w2k3_file.sh
test_w2k3.sh
test_win.sh
tests_win2k3_dc.sh
tests_win.sh
tests.py dsdb/pytests: sanity checks for links under subtree renames 2019-03-04 21:41:18 +00:00