1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/selftest
Tim Beale 8e58954f2f tests: Add test that Samba cannot be started with a backup DB
We don't want users to take a backup file, and then simply untar it and
run Samba (Several modifications to the DB need to be made as part of
the restore process, so users should always run the 'backup restore'
command).

To enforce this, prime_ldb_databases() now refuses to start Samba if the
backupDate marker is present in the DB. This patch adds a test-case that
proves this basic behaviour works.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-06-28 03:34:26 +02:00
..
provisions dbcheck: add support for restoring missing forward links 2018-02-05 13:49:13 +01:00
win Correct "occured" typos. 2017-02-22 08:26:21 +01:00
test_samba3dump.sh test_samba3dump: Use Samba subunit emitter. 2015-03-06 04:41:47 +01:00
test_w2k3_file.sh
test_w2k3.sh
test_win.sh
tests_win2k3_dc.sh
tests_win.sh
tests.py tests: Add test that Samba cannot be started with a backup DB 2018-06-28 03:34:26 +02:00