1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/tdb_compat
Rusty Russell fb41dfb77f tdb_compat: add "TDB_COMPAT_USE_TDB2" environment variable
When BUILD_TDB2 is defined, add TDB_VERSION1 flag to all tdb_open()
calls, unless this flag is set.  This means we use the tdb1 on-disk
format unless the user specifically asks for tdb2.

We'd love to do this using loadparm, but we need to work with both
Samba 3 and Samba 4's loadparm, and they're not unified yet.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-09-21 12:58:59 +09:30
..
tdb_compat.c tdb_compat: add "TDB_COMPAT_USE_TDB2" environment variable 2011-09-21 12:58:59 +09:30
tdb_compat.h tdb_compat: honour hashsize arg when using tdb2 with TDB_VERSION1 flag. 2011-09-21 12:57:59 +09:30
wscript tdb2: tie it into build process if --enable-tdb2-breaks-compat 2011-06-20 11:18:36 +02:00