ntdb: switch between secrets.tdb and secrets.ntdb depending on 'use ntdb'
commit2f4b21bb57c4f96c5f5b57a69d022c142d8088d5
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Feb 2013 04:29:42 +0000 (20 14:59 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Feb 2013 06:09:19 +0000 (20 07:09 +0100)
treeccc1865699e47eaf9702953ae9a59f746fe4afa2
parent3c9c3029f2bcf10ef614dd9f923d02232db3ac8d
ntdb: switch between secrets.tdb and secrets.ntdb depending on 'use ntdb'

Since we open with dbwrap, it auto-converts old tdbs (which it will
rename to secrets.tdb.bak once it's done).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date(master): Wed Feb 20 07:09:19 CET 2013 on sn-devel-104
19 files changed:
auth/credentials/credentials_secrets.c
docs-xml/manpages/net.8.xml
docs-xml/manpages/smbpasswd.8.xml
docs-xml/manpages/vfs_smb_traffic_analyzer.8.xml
docs-xml/smbdotconf/domain/machinepasswordtimeout.xml
docs-xml/smbdotconf/ldap/ldapadmindn.xml
docs-xml/smbdotconf/security/kerberosmethod.xml
docs-xml/smbdotconf/security/privatedir.xml
examples/misc/adssearch.pl
lib/tdb/man/tdbbackup.8.xml
selftest/target/Samba3.pm
selftest/target/Samba4.pm
source3/include/secrets.h
source3/passdb/py_passdb.c
source3/passdb/secrets.c
source4/dsdb/samdb/ldb_modules/secrets_tdb_sync.c
source4/scripting/python/samba/tests/provision.py
source4/scripting/python/samba/tests/upgradeprovision.py
source4/scripting/python/samba/tests/upgradeprovisionneeddc.py