1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4
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
..
auth auth: For NTLM and KDC authentication, log the authentication duration 2018-06-25 08:32:14 +02:00
build/pasn1
cldap_server cldap: clear remote address after cldap_dse_fill 2018-05-31 09:54:18 +02:00
client s4:client: Fix size types and loop 2018-04-03 20:20:10 +02:00
cluster dbwrap: Remove calls to loadparm 2018-04-24 01:53:19 +02:00
dns_server dsdb: add defines for sessionInfo and networkSessionInfo 2018-06-09 15:02:11 +02:00
dsdb dsdb audit: Fix timestamp tests 2018-06-26 06:09:46 +02:00
echo_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
heimdal auth: For NTLM and KDC authentication, log the authentication duration 2018-06-25 08:32:14 +02:00
heimdal_build heimdal_build: use closefrom from libreplace 2018-02-21 14:19:19 +01:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc auth: For NTLM and KDC authentication, log the authentication duration 2018-06-25 08:32:14 +02:00
ldap_server ldap_server: Fix CID 1435721 Unchecked return value 2018-05-24 03:35:00 +02:00
lib s4/lib/py-registry: initialize optional parameters for open_* functions 2018-04-13 07:27:14 +02:00
libcli pysmb: Add some more documentation for conn.list 2018-05-12 04:57:29 +02:00
libnet FIXUP: Improve memory handling on py_net_change_password 2018-05-17 14:28:19 +02:00
librpc s4/librpc: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
nbt_server samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
ntp_signd samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
ntvfs s4:ntvfs: Fix string copy of share_name 2018-05-17 17:30:09 +02:00
param s4/param: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
rpc_server auth: For NTLM and KDC authentication, log the authentication duration 2018-06-25 08:32:14 +02:00
script s4/script: convert print func to be py2/py3 compatible 2018-03-23 07:28:24 +01:00
scripting dnsupdate: Fix a typo 2018-06-01 11:28:22 +02:00
selftest tests: Add test that Samba cannot be started with a backup DB 2018-06-28 03:34:26 +02:00
setup tests: Add test that Samba cannot be started with a backup DB 2018-06-28 03:34:26 +02:00
smb_server samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
smbd samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
torture samba-tool drs showrepl tests: don't assert existence of DNS partitions 2018-06-10 19:02:19 +02:00
utils tests/demote: replace demote test bash script to python 2018-06-07 04:21:17 +02:00
web_server s4/webserver: initialise optional parameter 2018-04-13 07:27:14 +02:00
winbind samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
wrepl_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
.clang_complete
.valgrind_suppressions
wscript_build