1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/python/samba/tests
Rob van der Linde 950a70a190 netcmd: models: field to_db_value needs ldb param
Required by SDDL field type added in next commit

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-29 02:18:34 +00:00
..
bin gp: Test adding new cert templates enforces changes 2023-08-28 02:04:36 +00:00
blackbox python:tests: Fix spelling 2023-08-21 23:37:29 +00:00
dcerpc python: Remove unused imports 2023-08-30 02:15:29 +00:00
dns_forwarder_helpers python:tests: Fix invalid escape sequences 2023-09-27 02:43:28 +00:00
emulate python compat: remove StringIO 2020-08-11 16:37:35 +00:00
kcc python: fix mutable default arguments 2023-02-23 23:33:46 +00:00
krb5 tests/krb5: Add samba.tests.krb5.conditional_ace_tests 2023-09-28 04:35:05 +00:00
samba_tool netcmd: models: field to_db_value needs ldb param 2023-09-29 02:18:34 +00:00
__init__.py python: tests: implement setUpTestData overridable class method 2023-09-29 02:18:34 +00:00
audit_log_base.py tests/audit_log: Add missing call to tearDown() 2023-05-29 22:32:28 +00:00
audit_log_dsdb.py python/tests: use changetype: modify in order to delete a single attribute 2023-03-22 22:10:32 +00:00
audit_log_pass_change.py python: Replace calls to deprecated methods 2023-01-30 09:00:39 +00:00
auth_log_base.py tests/auth_log: Ensure tests continue to pass when new log types are added 2023-06-15 05:29:28 +00:00
auth_log_ncalrpc.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
auth_log_netlogon_bad_creds.py python2 reduction: Merge remaining compat code into common 2020-10-02 14:49:36 +00:00
auth_log_netlogon.py python compat: remove text_type 2020-08-11 16:37:35 +00:00
auth_log_pass_change.py crypto: Rely on GnuTLS 3.6.13 and gnutls_pbkdf2() 2023-06-30 14:00:38 +00:00
auth_log_samlogon.py python compat: remove text_type 2020-08-11 16:37:35 +00:00
auth_log_winbind.py tests/auth_log_winbind: Expect an empty remote address 2023-05-24 00:50:31 +00:00
auth_log.py tests/auth_log: Properly expect authentication failures 2023-06-14 22:57:35 +00:00
auth.py
common.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
complex_expressions.py python: Fix spelling 2023-08-30 02:15:29 +00:00
compression.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
conditional_ace_assembler.py pytest: conditional_ace assembler assembles full descriptor 2023-09-26 23:45:35 +00:00
conditional_ace_bytes.py libcli/security: beginning of tests for conditional ACE bytes 2023-09-26 23:45:35 +00:00
conditional_ace_claims.py pytest:conditional_ace_claims: ease export of failing tests to C 2023-09-26 23:45:35 +00:00
core.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00
cred_opt.py samba-tool: Use samba.glue.get_burnt_cmdline rather than regex 2023-07-21 05:23:32 +00:00
credentials.py Revert "cli_credentials_parse_string: fix parsing of principals" 2020-11-05 06:30:31 +00:00
dckeytab.py python: wrap 'import dckeytab' in an explanatory function 2020-07-17 07:17:40 +00:00
dns_aging.py pytest/dns_aging: Assert that the name of the node to search for is a string 2023-08-30 02:15:29 +00:00
dns_base.py pytest:dns_base: make_txt_update can set arbitrary TTL 2021-06-11 08:38:34 +00:00
dns_forwarder.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
dns_invalid.py
dns_packet.py CVE-2020-14303 Ensure an empty packet will not DoS the NBT server 2020-07-02 09:01:41 +00:00
dns_tkey.py python: Fix usage strings 2021-09-04 00:10:37 +00:00
dns_wildcard.py pytests/dns: use dnsserver.record_from_string 2021-04-08 21:54:35 +00:00
dns.py python:tests: Fix code spelling 2023-07-13 05:41:36 +00:00
docs.py pytest/docs: better spelling of set_smbconf_arbitrary 2021-11-22 11:18:09 +00:00
domain_backup_offline.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
domain_backup.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00
dsdb_api.py pydsdb: Add API to return strings of known UF_ flags 2021-09-02 05:03:31 +00:00
dsdb_dns.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
dsdb_lock.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
dsdb_schema_attributes.py selftest: Add prefix to new schema attributes to avoid flapping dsdb_schema_attributes 2021-09-06 02:32:51 +00:00
dsdb.py python:tests: Fix code spelling 2023-07-05 06:34:32 +00:00
encrypted_secrets.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
gensec.py
get_opt.py python: Streamline option parser of python tools 2021-06-20 23:26:32 +00:00
getdcname.py python:tests: Complete assertion messages 2023-08-30 02:15:29 +00:00
glue.py pyglue: add float2nttime() and nttime2float() 2021-03-01 03:50:35 +00:00
gpo_member.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
gpo.py gp: Use assertEqual() instead of assertEquals() 2023-08-30 02:15:29 +00:00
graph.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
group_audit.py python: Replace calls to deprecated methods 2023-01-30 09:00:39 +00:00
hostconfig.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
imports.py python: Test samdb import 2021-03-10 21:43:34 +00:00
join.py pytest/join: use TestCaseInTempDir.rm_files/dirs 2022-09-06 21:12:36 +00:00
krb5_credentials.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
ldap_raw.py s4 cldap server tests: request size limit tests 2020-05-10 21:45:38 +00:00
ldap_referrals.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00
ldap_spn.py CVE-2022-0336: pytest: Add a test for an SPN conflict with a re-added SPN 2022-01-31 15:27:37 +00:00
ldap_upn_sam_account.py python:tests: Fix usage line 2023-08-30 02:15:29 +00:00
ldap_whoami.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
libsmb-basic.py tests: Add reproducer for BZ15481 2023-09-20 21:48:36 +00:00
libsmb.py libsmb: Add "DOMAIN" to authentication creds 2022-11-22 18:27:33 +00:00
loadparm.py
logfiles.py tests: adapt logging test for s3. 2022-06-17 01:28:30 +00:00
lsa_string.py
messaging.py python compat: remove integer_types 2020-08-11 16:37:35 +00:00
ndr.py selftest: Add missing import 2023-08-08 04:39:37 +00:00
net_join_no_spnego.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00
net_join.py
netbios.py pytests: move ValidNetbiosNameTests to samba.tests.netbios 2022-09-06 21:12:36 +00:00
netcmd.py pytest/netcmd: fix for new samba-tool api 2022-09-08 22:34:36 +00:00
netlogonsvc.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
ntacls_backup.py netcmd: Fix opening SamDB database for offline backup 2021-03-24 02:08:54 +00:00
ntacls.py s3/utils: when encoding ace string use "FA", "FR", "FW", "FX" string rights 2023-04-28 02:15:36 +00:00
ntlm_auth_base.py
ntlm_auth_krb5.py
ntlm_auth.py ntlm_auth: Adapt --diagnostics mode to expect that the DC does not support LANMAN by default 2022-03-17 01:57:38 +00:00
ntlmdisabled.py
pam_winbind_chauthtok.py
pam_winbind_setcred.py selftest: Add a test for PamLogOff 2022-04-08 20:13:37 +00:00
pam_winbind_warn_pwd_expire.py
pam_winbind.py
param.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00
password_hash_fl2003.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
password_hash_fl2008.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
password_hash_gpgme.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
password_hash_ldap.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
password_hash.py python compat: remove text_type 2020-08-11 16:37:35 +00:00
password_quality.py
password_test.py
policy.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
posixacl.py s3/utils: when encoding ace string use "FA", "FR", "FW", "FX" string rights 2023-04-28 02:15:36 +00:00
prefork_restart.py python: Replace calls to deprecated methods 2023-01-30 09:00:39 +00:00
process_limits.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
provision.py provision: Remove final code for the LDAP backend 2020-04-23 06:12:20 +00:00
pso.py
py_credentials.py CVE-2022-32743 tests/py_credentials: Add tests for setting dNSHostName with LogonGetDomainInfo() 2022-07-28 22:47:37 +00:00
registry.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
reparsepoints.py tests: Test error codes for SET_REPARSE_POINT 2022-12-05 15:06:32 +00:00
s3_net_join.py pytest: s3_net_join: avoid name clash 2021-10-20 12:02:33 +00:00
s3idmapdb.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
s3param.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
s3passdb.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
s3registry.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
s3windb.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
safe_tarfile.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
samba3sam.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
samba_startup_fl_change.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
samba_upgradedns_lmdb.py test upgradedns: ensure lmdb lock files linked 2019-12-20 07:35:41 +00:00
samdb_api.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
samdb.py pytest/samdb: use TestCaseInTempDir.rm_files/.rm_dirs 2022-09-06 21:12:36 +00:00
sddl_conditional_ace.py pytest: sddl tests with conditional ACEs 2023-09-26 23:45:35 +00:00
sddl.py pytest: sddl strings dir can be defined in class 2023-09-26 23:45:35 +00:00
security_descriptors.py pytest:security_descriptors: test collected conditional ACEs 2023-09-26 23:45:35 +00:00
security.py pytests:security: don't use invalid domain SID S-2-0-0 2023-09-07 04:53:41 +00:00
segfault.py python:tests: Remove unused imports 2023-09-14 21:35:29 +00:00
sid_strings.py pytest:sid_strings: Do bad SIDs fail differently in simple-bind? 2023-04-28 02:15:36 +00:00
smb1posix.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
smb2symlink.py tests: Add test_symlink_reparse_data_buffer_parse 2023-09-08 16:27:39 +00:00
smb3unix.py conf: Remove "smb3 unix extensions" parameter 2023-09-21 17:43:23 +00:00
smb-notify.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
smb.py python:tests: Save files with intended contents 2023-08-21 23:37:29 +00:00
smbconf.py python:tests: Rename test method so as not to mask previously-defined method 2023-08-30 02:15:29 +00:00
smbd_base.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00
smbd_fuzztest.py python:tests: Remove unused imports 2023-09-14 21:35:29 +00:00
source_chars.py python:tests: Remove references to now-gone files 2023-08-08 04:39:37 +00:00
source.py python/tests/krb5: modify rfc4120.asn1 in order to generate pyasn1 code 2020-03-27 18:17:35 +00:00
strings.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
subunitrun.py
tdb_util.py
test_pam_winbind_chauthtok.sh python: Reformat shell scripts 2022-03-03 00:59:34 +00:00
test_pam_winbind_setcred.sh selftest: Add a test for PamLogOff 2022-04-08 20:13:37 +00:00
test_pam_winbind_warn_pwd_expire.sh python: Reformat shell scripts 2022-03-03 00:59:34 +00:00
test_pam_winbind.sh python: Reformat shell scripts 2022-03-03 00:59:34 +00:00
token_factory.py libcli/security: Pass in claims evaluation state when building any security token 2023-09-26 23:45:35 +00:00
upgrade.py pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
upgradeprovision.py pytest:upgradeprovision: don't use misleading SDDL in tests 2023-04-28 02:15:36 +00:00
upgradeprovisionneeddc.py python: Replace calls to deprecated methods 2023-01-30 09:00:39 +00:00
usage.py python:tests: Ensure that we don’t overwrite tests 2023-05-29 22:32:28 +00:00
xattr.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00