1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/python/samba/tests
Aaron Haslett 4a95410a15 downgradedatabase: blackbox: MDB backend
When Samba uses TDB as a backend store, all new database features are
toggled on/off when GUID indexing is toggled. But, GUID indexing can't
be disabled on MDB, so the other features are toggled separately.
Consequently, the downgradedatabase script behaves differently depending
on the database backend. This patch adds testing for the MDB behaviour.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2019-05-29 04:41:25 +00:00
..
blackbox downgradedatabase: blackbox: MDB backend 2019-05-29 04:41:25 +00:00
dcerpc s2 decrpc samr: Add tests for QueryDomainInfo 2019-02-14 05:03:23 +01:00
dns_forwarder_helpers selftest: Move dns_hub.py into selftest directory 2019-02-01 03:36:15 +01:00
emulate python/samba/tests: fix traffic for py2/py3 compatability 2018-09-05 23:27:13 +02:00
kcc python/tests/kcc_utils: disambiguate/unshadow a test 2018-10-25 21:45:59 +02:00
samba_tool selftest: correcting empty attribute usage in requests 2019-05-06 05:45:55 +00:00
__init__.py downgradedatabase: blackbox test 2019-05-29 04:41:24 +00:00
audit_log_base.py tests: Work audit_log CLIENT_IP out from config instead of env var 2019-03-04 21:41:16 +00:00
audit_log_dsdb.py tests: Work audit_log CLIENT_IP out from config instead of env var 2019-03-04 21:41:16 +00:00
audit_log_pass_change.py tests: Work audit_log CLIENT_IP out from config instead of env var 2019-03-04 21:41:16 +00:00
auth_log_base.py tests: Reduce likelihood of auth_log test locking up during CI 2019-03-05 13:10:43 +00:00
auth_log_ncalrpc.py tests (audit_auth)_log: PEP8 cleanup. 2018-12-20 23:40:26 +01:00
auth_log_netlogon_bad_creds.py tests: Remove redundant credentials from auth_log tests 2019-03-04 21:41:16 +00:00
auth_log_netlogon.py tests: Remove redundant credentials from auth_log tests 2019-03-04 21:41:16 +00:00
auth_log_pass_change.py tests/auto_log_pass_change.py: only care about the last expected message other than exact messages count 2019-03-07 12:01:25 +00:00
auth_log_samlogon.py tests: Remove redundant credentials from auth_log tests 2019-03-04 21:41:16 +00:00
auth_log_winbind.py s3 winbind auth_log: Tests for logon id logging. 2019-02-20 06:03:08 +01:00
auth_log.py tests: Switchover auth_log from s4 SMB client bindings to s4 2019-01-17 04:47:56 +01:00
auth.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
common.py python/tests/common: avoid import * 2018-10-25 21:45:56 +02:00
complex_expressions.py ldb: tests for <= and >= integer indexing 2019-04-08 02:07:23 +00:00
core.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
credentials.py python/tests/credentials: remove unused variables 2018-11-01 05:08:14 +01:00
dckeytab.py PEP8: fix E122: continuation line missing indentation or outdented 2018-09-06 12:10:11 +02:00
dns_base.py python/tests/dns*: make use of dns.DNS_RCODE/dns.DNS_OPCODE 2019-01-29 22:09:07 +01:00
dns_forwarder.py python/tests/dns*: make use of dns.DNS_RCODE/dns.DNS_OPCODE 2019-01-29 22:09:07 +01:00
dns_invalid.py python/tests/dns*: remove unused imports 2018-10-25 21:45:54 +02:00
dns_tkey.py python/tests/dns*: remove unused imports 2018-10-25 21:45:54 +02:00
dns_wildcard.py dns wildcards: tests to confirm BUG 13536 2018-07-20 01:47:20 +02:00
dns.py dns: test for treating fully qualified zones same as unqualified 2018-12-20 23:40:26 +01:00
docs.py docs-xml: add "smbd max async dosmode" 2018-12-06 01:43:13 +01:00
domain_backup_offline.py tests: Rework backup test inheritance to make LP constraints clearer 2018-11-27 06:57:03 +01:00
domain_backup.py tests: Rework backup test inheritance to make LP constraints clearer 2018-11-27 06:57:03 +01:00
dsdb_lock.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
dsdb_schema_attributes.py python/tests/dsdb_schema_attr: remove unused/duplicate imports 2018-10-25 21:45:54 +02:00
dsdb.py python/tests/dsdb: use correct variable names 2018-11-01 05:08:11 +01:00
encrypted_secrets.py python/samba/tests: PY3 port of samba.tests.encrypted_secrets 2018-09-05 23:27:12 +02:00
gensec.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
get_opt.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
getdcname.py selftest: Improve an error message 2019-01-11 06:01:01 +01:00
glue.py python: samba.tests.glue: Add new tests for samba._glue. 2017-03-10 07:31:10 +01:00
gpo.py tests: Avoid hardcoding domain in GPO tests 2019-01-07 22:48:29 +01:00
graph.py PEP8: fix E122: continuation line missing indentation or outdented 2018-08-24 07:49:26 +02:00
group_audit.py tests: Work audit_log CLIENT_IP out from config instead of env var 2019-03-04 21:41:16 +00:00
hostconfig.py PEP8: fix E231: missing whitespace after ',' 2018-08-24 07:49:28 +02:00
join.py tests: Make IPv4 assumption explicit 2019-03-14 02:12:19 +00:00
krb5_credentials.py python tests: fix format() strings for Python 2.6 2018-09-21 20:04:23 +02:00
ldap_referrals.py ldap tests: test scheme for referrals 2019-05-24 03:19:18 +00:00
libsmb.py s3:libsmb: Revert SMB Py bindings name back to libsmb_samba_internal 2019-01-09 14:30:31 +01:00
loadparm.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
lsa_string.py python/tests/lsa_string: remove duplicate method 2018-10-25 21:45:59 +02:00
messaging.py PEP8: fix E306: expected 1 blank line before a nested definition, found 0 2018-08-24 07:49:30 +02:00
net_join_no_spnego.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
net_join.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
netbios.py python/tests/netbios: remove unused imports 2018-10-25 21:45:54 +02:00
netcmd.py python/samba/tests: Use io.StringIO for py3 and StringIO.StrinIO for py2 2018-09-03 03:22:21 +02:00
netlogonsvc.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
ntacls_backup.py CVE-2019-3870 pysmbd: Include tests to show the outside umask has no impact 2019-04-08 10:27:34 +00:00
ntacls.py tests/ntacls: fix pep8 warnings 2018-06-28 12:14:59 +02:00
ntlm_auth_base.py selftest: Add a new base class for ntlm_auth tests 2018-12-19 12:42:09 +01:00
ntlm_auth_krb5.py tests/ntlm_auth: Port ntlm_auth_krb5 tests to python 2018-12-19 12:42:14 +01:00
ntlm_auth.py tests/ntlm_auth: Port ntlm_auth_diagnostics tests to python 2018-12-19 16:21:32 +01:00
ntlmdisabled.py python/tests/*: remove unused imports 2018-10-25 21:45:54 +02:00
pam_winbind_chauthtok.py tests: Check pam_winbind pw change with different options 2018-10-02 17:30:29 +02:00
pam_winbind_warn_pwd_expire.py PEP8: fix E711: comparison to None should be 'if cond is not None:' 2018-08-24 07:49:30 +02:00
pam_winbind.py PEP8: fix E711: comparison to None should be 'if cond is not None:' 2018-08-24 07:49:30 +02:00
param.py python: samba.tests.param: Add missing tests 2017-03-10 07:31:10 +01:00
password_hash_fl2003.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
password_hash_fl2008.py selftests:password_hash: Raise SHA256 rounds to 5000 2019-03-22 14:03:19 +00:00
password_hash_gpgme.py PEP8: fix E711: comparison to None should be 'if cond is not None:' 2018-08-24 07:49:30 +02:00
password_hash_ldap.py python/samba/tests: py3 port for samba.test.password_hash_ldap 2018-09-05 23:27:11 +02:00
password_hash.py python/samba/tests: make password_hash.py py2/py3 compatible 2018-09-05 23:27:11 +02:00
password_quality.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
password_test.py python/tests/*: remove unused imports 2018-10-25 21:45:54 +02:00
policy.py PEP8: fix E128: continuation line under-indented for visual indent 2018-08-24 07:49:27 +02:00
posixacl.py CVE-2019-3870 tests: Extend smbd tests to check for umask being overwritten 2019-04-08 10:27:34 +00:00
prefork_restart.py source4 smbd test: prefork process restart 2018-11-23 08:25:19 +01:00
process_limits.py s4 smbd standard tests: limit forked processes 2018-11-30 11:42:44 +01:00
provision.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
pso.py python tests: fix format() strings for Python 2.6 2018-09-21 20:04:23 +02:00
py_credentials.py python/samba/tests: port samba.tests.py_credentials for py2/py3 compat 2018-09-05 23:27:12 +02:00
registry.py python:tests: Use bin/tdbdump only if built 2017-11-24 01:13:14 +01:00
s3idmapdb.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
s3param.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
s3passdb.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
s3registry.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
s3windb.py python/tests: remove unused imports 2018-10-25 21:45:54 +02:00
samba3sam.py paged results: new paged results module using GUID list 2018-12-21 07:21:19 +01:00
samdb_api.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
samdb.py python/tests/samdb: avoid useless local variable 2018-10-25 21:45:54 +02:00
security.py PEP8: fix E303: too many blank lines (2) 2018-08-24 07:49:30 +02:00
segfault.py pytest/segfault: segfault with nameless element 2019-04-23 18:00:13 +00:00
smb.py s3:libsmb: Revert SMB Py bindings name back to libsmb_samba_internal 2019-01-09 14:30:31 +01:00
smbd_base.py CVE-2019-3870 pysmbd: Include tests to show the outside umask has no impact 2019-04-08 10:27:34 +00:00
source.py python/tests/source: remove useless local variable 2018-11-01 05:08:14 +01:00
strings.py python tests: always use Python's unicodedata 2018-10-25 21:45:57 +02:00
subunitrun.py PY3: change shebang to python3 in misc dirs 2018-12-14 18:00:40 +01:00
tdb_util.py python: tests: Add test for tdb_copy function from tdb_util module. 2017-07-05 02:00:25 +02:00
test_pam_winbind_chauthtok.sh python/samba.tests: Ensure samba-tool is called with correct python ver. 2018-12-10 10:38:20 +01:00
test_pam_winbind_warn_pwd_expire.sh build: Move pam_wrapper to third_party 2017-11-25 10:14:13 +01:00
test_pam_winbind.sh build: Move pam_wrapper to third_party 2017-11-25 10:14:13 +01:00
upgrade.py PEP8: fix E128: continuation line under-indented for visual indent 2018-08-24 07:49:27 +02:00
upgradeprovision.py PEP8: fix W391: blank line at end of file 2018-08-24 07:49:31 +02:00
upgradeprovisionneeddc.py PEP8: fix E127: continuation line over-indented for visual indent 2018-09-06 12:10:12 +02:00
xattr.py PEP8: fix E401: multiple imports on one line 2018-08-24 07:49:30 +02:00