• Stefan Metzmacher's avatar
    dbcheck: detect the change after deletion bug · 107883df
    Stefan Metzmacher authored
    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=13816Signed-off-by: 's avatarStefan Metzmacher <metze@samba.org>
    Reviewed-by: 's avatarAndrew Bartlett <abartlet@samba.org>
    (cherry picked from commit a1658b30)
    107883df
Name
Last commit
Last update
auth Loading commit data...
buildtools Loading commit data...
coverity Loading commit data...
ctdb Loading commit data...
dfs_server Loading commit data...
docs-xml Loading commit data...
dynconfig Loading commit data...
examples Loading commit data...
file_server Loading commit data...
include Loading commit data...
lib Loading commit data...
libcli Loading commit data...
libds/common Loading commit data...
libgpo Loading commit data...
librpc Loading commit data...
nsswitch Loading commit data...
packaging Loading commit data...
pidl Loading commit data...
python Loading commit data...
release-scripts Loading commit data...
script Loading commit data...
selftest Loading commit data...
source3 Loading commit data...
source4 Loading commit data...
testdata Loading commit data...
testprogs Loading commit data...
tests Loading commit data...
testsuite Loading commit data...
third_party Loading commit data...
wintest Loading commit data...
.bzrignore Loading commit data...
.gitignore Loading commit data...
.gitlab-ci-private.yml Loading commit data...
.gitlab-ci.yml Loading commit data...
.testr.conf Loading commit data...
.travis.yml Loading commit data...
.ycm_extra_conf.py Loading commit data...
BUILD_SYSTEMS.txt Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
PFIF.txt Loading commit data...
README Loading commit data...
README.Coding Loading commit data...
README.cifs-utils Loading commit data...
README.contributing Loading commit data...
VERSION Loading commit data...
WHATSNEW.txt Loading commit data...
callcatcher-exceptions.grep Loading commit data...
configure Loading commit data...
configure.developer Loading commit data...
install_with_python.sh Loading commit data...
simple-dc-steps.sh Loading commit data...
wscript Loading commit data...
wscript_build Loading commit data...
wscript_build_embedded_heimdal Loading commit data...
wscript_build_system_heimdal Loading commit data...
wscript_build_system_mitkrb5 Loading commit data...
wscript_configure_system_mitkrb5 Loading commit data...