ldb: Ensure to decrement the transaction_active whenever we delete a transaction
commit1d1ea72574cfa22ee6207d0e9787d0271db3b5c2
authorAndrew Bartlett <abartlet@samba.org>
Fri, 25 Jan 2013 22:35:21 +0000 (26 09:35 +1100)
committerStefan Metzmacher <metze@samba.org>
Sat, 26 Jan 2013 12:42:46 +0000 (26 13:42 +0100)
treeabe9cc8db6ddeab01b61d1f823569a3e3ad6a557
parent1ea6fabcde6cbd57aed06926193ac68f5887e96b
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>
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