source4/cluster and source4/ntvfs: convert to dbwrap, add ntdb option.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 11 Apr 2013 07:42:15 +0000 (17:12 +0930)
committerJeremy Allison <jra@samba.org>
Fri, 12 Apr 2013 21:59:42 +0000 (14:59 -0700)
commited6a4e04e1f8a0ca952e37577bfdc9731d6ef93d
tree535f9879418c3abddbc5f1b5f2b2e211c7ea576f
parentc5bd2ae338c0b67304ee253e3b5139b50cc1d0e5
source4/cluster and source4/ntvfs: convert to dbwrap, add ntdb option.

This makes the code use dbwrap_local_open(), so it can handle
NTDB.

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

Cc: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Jeremy Allison <jra@samba.org>
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