source4/cluster and source4/ntvfs: add dbwrap option. for-review
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 27 Mar 2013 01:08:52 +0000 (11:38 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 27 Mar 2013 01:08:52 +0000 (11:38 +1030)
commitfd73148026450e5f00204cdbc1a7816ea9778398
treebd9859f8995e43d11e660947242aa6cd2561f1e0
parent6d1da4aac880bda42833e3f50597aed01205a2b3
source4/cluster and source4/ntvfs: add dbwrap option.

This makes the cluster code use dbwrap_local_open(), so it can handle
NTDB.  This paves the way for ctdb to support ntdb files.

brlock.tdb, notify.tdb and openfiles.tdb can now be brlock.ntdb,
notify.ntdb and openfiles.ntdb, if 'use ntdb' is set.

Note: current ctdb doesn't support NTDB, so setting 'use ntdb' now is
not a good idea!

Cc: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
source4/cluster/cluster.c
source4/cluster/cluster.h
source4/cluster/cluster_private.h
source4/cluster/local.c
source4/cluster/wscript_build
source4/ntvfs/common/brlock_tdb.c
source4/ntvfs/common/notify.c
source4/ntvfs/common/opendb_tdb.c