• 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
..
README Loading commit data...
dns Loading commit data...
encrypted_secrets Loading commit data...
getncchanges Loading commit data...
keytab Loading commit data...
labdc Loading commit data...
netlogon Loading commit data...
ntlmv1-restrictions Loading commit data...
ntlmv2-restrictions Loading commit data...
password_settings Loading commit data...
replica_sync Loading commit data...
s3-lsa-server Loading commit data...
samba3.vfs.fruit Loading commit data...
smbclient-smb3 Loading commit data...
upn_handling Loading commit data...