dsdb: Teach the Samba partition module how to lock all the DB backends
authorAndrew Bartlett <abartlet@samba.org>
Mon, 26 Jun 2017 02:13:41 +0000 (14:13 +1200)
committerStefan Metzmacher <metze@samba.org>
Sun, 2 Jul 2017 15:35:20 +0000 (17:35 +0200)
commitd21d83219534782c5d75a707aab23a5d7e91ce56
tree1974c97f883b2f7d9e85908e3bd1290412273b14
parent4894f47e2ec48dd36cac72608bfabde6fdfc7c6b
dsdb: Teach the Samba partition module how to lock all the DB backends

The metadata partition (sam.ldb) lock is not
enough to block another process in prepare_commit(),
because prepare_commit() is a no-op, if nothing
was changed in the specific backend.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail.d/ldb-locking [deleted file]
source4/dsdb/samdb/ldb_modules/partition.c