1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/setup
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
..
ad-schema schema: 2008R2 AD schema attributes and classes 2017-12-14 08:20:17 +01:00
adprep WindowsServerDocs: Update README for clarity 2017-12-20 23:13:11 +01:00
display-specifiers
tests tests: Add test that Samba cannot be started with a backup DB 2018-06-28 03:34:26 +02:00
aggregate_schema.ldif
cn=samba.ldif OpenLDAP provisioning tweaks 2013-09-18 21:39:51 +02:00
DB_CONFIG
dns_update_list samba_dnsupdate: Implement RPC <ZONE> prefix in dns_update_list 2016-06-16 04:40:14 +02:00
extended-rights.ldif provision: Make clarifying header an LDIF comment in extended-rights.ldif 2017-12-14 08:20:16 +01:00
fedora-ds-init.ldif
fedorads-dna.ldif
fedorads-index.ldif
fedorads-linked-attributes.ldif
fedorads-pam.ldif
fedorads-partitions.ldif
fedorads-refint-add.ldif
fedorads-refint-delete.ldif
fedorads-samba.ldif
fedorads-sasl.ldif
fedorads.inf
idmap_init.ldif
krb5.conf
memberof.conf
mmr_serverids.conf
mmr_syncrepl.conf
modules.conf
named.conf s4-dns: Remove refernece to BIND 9.7 supporting GSS-TSIG 2012-07-03 08:13:02 +10:00
named.conf.dlz provision: Add support for BIND 9.11.x 2016-10-28 03:42:25 +02:00
named.conf.update
named.txt provision: Rewrite named.txt to be more useful 2013-08-29 13:53:25 +02:00
olc_mmr.conf
olc_seed.ldif
olc_serverid.conf
olc_syncrepl_seed.conf
olc_syncrepl.conf
prefixMap.txt
provision_basedn_modify.ldif samba-tool: validate password early in domain provision 2017-12-10 00:47:30 +01:00
provision_basedn_options.ldif
provision_basedn_references.ldif 2008R2: Missing operation (75, 76) for ActiveDirectoryUpdate version 5 (FL) 2017-12-20 23:13:11 +01:00
provision_basedn.ldif
provision_computers_add.ldif s4:provision: set the correct nTSecurityDescriptor on CN=Computers,... (bug #9481) 2012-12-11 05:04:48 +01:00
provision_computers_modify.ldif
provision_configuration_basedn.ldif
provision_configuration_modify.ldif schema: Re-work extended rights handling in provision (prep for 2012R2) 2017-12-14 08:20:16 +01:00
provision_configuration_references.ldif
provision_configuration.ldif provision: RODC revision level should be at 2 2017-12-14 08:20:17 +01:00
provision_dns_accounts_add.ldif
provision_dns_add_samba.ldif
provision_dnszones_add.ldif samba-tool domain join subdomain: Rework sambadns.py to allow setup of DomainDNSZone only 2013-10-11 10:27:49 +02:00
provision_dnszones_modify.ldif samba-tool domain join subdomain: Rework sambadns.py to allow setup of DomainDNSZone only 2013-10-11 10:27:49 +02:00
provision_dnszones_partitions.ldif samba-tool domain join subdomain: Rework sambadns.py to allow setup of DomainDNSZone only 2013-10-11 10:27:49 +02:00
provision_group_policy.ldif
provision_init.ldif provision: Changes to support encrypted_secrets module 2017-12-18 00:10:17 +01:00
provision_partitions.ldif provision: allow provisioning of a different database backend 2018-04-06 02:08:45 +02:00
provision_privilege.ldif
provision_rootdse_add.ldif ad/provision: change http://samba.org to https://www.samba.org 2016-12-09 16:57:31 +01:00
provision_rootdse_modify.ldif
provision_schema_basedn_modify.ldif schema: Add option of specifying the base schema for a provision 2017-12-14 08:20:16 +01:00
provision_schema_basedn.ldif
provision_self_join_config.ldif
provision_self_join_modify_config.ldif
provision_self_join_modify.ldif
provision_self_join.ldif
provision_users_add.ldif s4:provision: set the correct nTSecurityDescriptor on CN=Users,... (bug #9481) 2012-12-11 05:20:32 +01:00
provision_users_modify.ldif
provision_users.ldif typo: Change case to match DN 2017-12-14 08:20:14 +01:00
provision_well_known_sec_princ.ldif provision: fix nTSecurityDescriptor attributes of CN=*,${CONFIGDN} (bug #9481) 2013-01-27 20:14:21 +11:00
provision.ldif 2008R2: Missing operation (77) for ActiveDirectoryUpdate version 5 (FL) 2017-12-20 23:13:11 +01:00
provision.reg
provision.zone
refint.conf
schema_samba4.ldif samdb: Add transaction id control 2018-05-10 20:02:23 +02:00
schema-map-fedora-ds-1.0
schema-map-openldap-2.3
secrets_dns.ldif s4-setup: Add saltPrincipal to secrets_dns.ldif 2015-04-24 13:02:37 +02:00
secrets_init.ldif
secrets_sasl_ldap.ldif
secrets_simple_ldap.ldif
secrets.ldif
share.ldif
slapd.conf OpenLDAP provisioning tweaks 2013-09-18 21:39:51 +02:00
spn_update_list
wscript_build Forest-Wide-Updates.md: Include the description of forest wide updates 2017-12-20 23:13:11 +01:00
ypServ30.ldif s4-provision: Provide YP/NIS subtree to allow ADUC to see and set rfc2307 attrs 2012-07-13 06:00:17 +02:00