ldb: Ensure to decrement the transaction_active whenever we delete a transaction
authorAndrew Bartlett <abartlet@samba.org>
Fri, 25 Jan 2013 22:35:21 +0000 (09:35 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Jan 2013 11:50:56 +0000 (12:50 +0100)
commit8464023afa8ac3df716521b75d5f459efbe2b6a7
treeced32dfbdc401a4985dc10617342ae4cd840c2ac
parent2156d545070e5e944f2f96ac13ca73f7be8e18ee
ldb: Ensure to decrement the transaction_active whenever we delete a transaction

This is in the error path for prepare_commit, which rarely fails, but
when it does we need to ensure that when a new transaction is opened,
that it really starts a new transaction.

We bump the version to recognise critical fix for the AD DC

Without this fix, a single invalid inbound replicated link disables
all subsequent replication as we operate without a transaction (which
is refused by ldb_tdb).

Andrew Bartlett

Reviewed-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 1d1ea72574cfa22ee6207d0e9787d0271db3b5c2)

The last 13 patches address bug #9609 - backport tdb/ldb changes.

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Mon Jan 28 12:50:56 CET 2013 on sn-devel-104
lib/ldb/ABI/ldb-1.1.15.sigs [new file with mode: 0644]
lib/ldb/ABI/pyldb-util-1.1.15.sigs [new file with mode: 0644]
lib/ldb/common/ldb.c
lib/ldb/wscript