1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/setup/tests
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
..
blackbox_group.sh selftest: Fix test samba4.blackbox.group.py 2014-10-23 15:56:04 +02:00
blackbox_newuser.sh ad/provision: change http://samba.org to https://www.samba.org 2016-12-09 16:57:31 +01:00
blackbox_provision-backend.sh tests: make password valid in openldap provision test 2017-12-10 00:47:30 +01:00
blackbox_provision.sh
blackbox_s3upgrade.sh
blackbox_setpassword.sh s4/setup/tests: Add test for non ascii password setting samba-tool 2018-05-17 11:31:28 +02:00
blackbox_spn.sh
blackbox_start_backup.sh tests: Add test that Samba cannot be started with a backup DB 2018-06-28 03:34:26 +02:00
blackbox_supported_features.sh fix blackbox_supported_features: mkdir -p its directory 2017-02-10 05:09:08 +01:00
blackbox_upgradeprovision.sh