dbwrap: use db_open_tdb2() in for db_open_trans() if "dbwrap:use_tdb2=yes"
commit4ceae29e096d04e8a273570ec38b4c15f298c5af
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Mar 2008 09:08:10 +0000 (26 10:08 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sun, 13 Apr 2008 11:29:51 +0000 (13 13:29 +0200)
treecc475178151afac2c4bdc35a04d219206eeba689
parent7841e2b2609f1675eeb7aa9e8f3d03aea30186ef
dbwrap: use db_open_tdb2() in for db_open_trans() if "dbwrap:use_tdb2=yes"

For clustered setups you need to disable the ctdb backend for each
tdb which should use the tdb2 backend (e.g. ctdb:registry.tdb=no).

To disable tdb2 per tdb use something like "tdb2:passdb.tdb=no"

metze
(cherry picked from commit 5cea2bf3673c982bafeef4a8bbd3bd2ab73cc0c5)
source/lib/dbwrap.c