diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-21 12:58:59 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-21 12:58:59 +0930 |
commit | fb41dfb77ff8b7822befcfb877e84ccdf06ab830 (patch) | |
tree | 5ea825cf43c25524853d47082ec0f9ec617d12c0 /source3/smbd/fake_file.c | |
parent | f08b323a88658c3e52adce4fa346bc03274e2c36 (diff) | |
download | samba-fb41dfb77ff8b7822befcfb877e84ccdf06ab830.tar.gz samba-fb41dfb77ff8b7822befcfb877e84ccdf06ab830.tar.bz2 samba-fb41dfb77ff8b7822befcfb877e84ccdf06ab830.zip |
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>
Diffstat (limited to 'source3/smbd/fake_file.c')
0 files changed, 0 insertions, 0 deletions