1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/python/samba/tests
Rob van der Linde 076bc6ee1d netcmd: models: Rename username to account_name for consistency
When creating the User model initially, "username" was the only field that was inconsistently named, it maps to "sAMAccountName".

It should really have been account "account_name".

There is also a field "account_type" and should be similarly named to "account_name".

Basically the naming of fields should always be consistent, breaking the rule for one field only was a mistake.

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2024-03-01 04:45:36 +00:00
..
bin gpupdate: Test Drive Maps Client Side Extension 2023-10-16 00:59:32 +00:00
blackbox python/tests: Add test for new krb5 keytab parser 2024-02-27 01:11:37 +00:00
dcerpc tests/dcerpc: Remove unused imports 2023-12-08 02:28:33 +00:00
dns_forwarder_helpers python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
emulate python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
kcc python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
krb5 python/samba/tests/krb5: Expect SID_FRESH_PUBLIC_KEY_IDENTITY (only) when PKINIT freshness used 2024-02-28 03:44:37 +00:00
ndr python:tests: Catch strings passed to utf16_encoded_len() with embedded nulls 2023-12-21 20:21:34 +00:00
samba_tool netcmd: models: Rename username to account_name for consistency 2024-03-01 04:45:36 +00:00
__init__.py python/tests: add TestCase.get_loadparm(s3=True) support 2024-01-26 17:00:33 +00:00
audit_log_base.py pytest:audit_log_base: use string_is_guid() 2024-02-29 04:01:40 +00:00
audit_log_dsdb.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
audit_log_pass_change.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
auth_log_base.py pytest:auth_log_base: use string_is_guid() 2024-02-29 04:01:40 +00:00
auth_log_ncalrpc.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
auth_log_netlogon_bad_creds.py python: Fail the test if we don’t receive an NTSTATUSError 2024-02-27 01:11:37 +00:00
auth_log_netlogon.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
auth_log_pass_change.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
auth_log_samlogon.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
auth_log_winbind.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
auth_log.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
auth.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
common.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
complex_expressions.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
compression.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
conditional_ace_assembler.py selftest: aces: fix mutable default args in assemble_ace 2024-03-01 04:45:36 +00:00
conditional_ace_bytes.py python:tests: Remove unused imports 2023-12-08 02:28:33 +00:00
conditional_ace_claims.py python:tests: Remove unused imports 2023-12-08 02:28:33 +00:00
core.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00
cred_opt.py python/samba/tests: Fix incorrect super-class in cred_opt.py setUp() 2023-11-30 02:03:05 +00:00
credentials.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
dckeytab.py python/tests: Use TestCaseInTempDir rather than "private dir" for exported keytab 2024-02-27 01:11:37 +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 python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
dns_forwarder.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
dns_invalid.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
dns_packet.py python:tests: Remove unnecessary f‐strings 2023-10-25 22:23:37 +00:00
dns_tkey.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
dns_wildcard.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
dns.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
docs.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
domain_backup_offline.py selftest: Ignore msKds-DomainID in ldapcmp_restoredc.sh and samba.tests.domain_backup_offline 2024-03-01 00:19:45 +00:00
domain_backup.py python:tests: Rename parameter to be consistent with overridden method 2023-12-21 20:21:34 +00:00
dsdb_api.py
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_quiet_provision_tests.py pytest:dsdb: check that there is a gkdi root key 2024-03-01 00:19:45 +00:00
dsdb_schema_attributes.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
dsdb.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
encrypted_secrets.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
gensec.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
get_opt.py
getdcname.py python:tests: Complete assertion messages 2023-08-30 02:15:29 +00:00
gkdi.py pytest:gkdi: shift create_root_key into a function 2024-03-01 00:19:45 +00:00
glue.py python: get rid of pointless empty overridden methods 2023-11-30 01:05:32 +00:00
gpo_member.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
gpo.py gpo: Test certificate policy without NDES 2024-01-22 15:41:36 +00:00
graph.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
group_audit.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
hostconfig.py
imports.py
join.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
krb5_credentials.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
ldap_raw.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
ldap_referrals.py python: get rid of pointless empty overridden methods 2023-11-30 01:05:32 +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:tests: Remove semicolons 2023-10-13 03:50:31 +00:00
libsmb-basic.py tests: Add reproducer for bug 15487 2023-10-10 08:19:29 +00:00
libsmb.py python: move clean_file() to samba/tests/libsmb.py 2023-11-13 18:35:32 +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:tests: Ensure we clean up callbacks in pymessaging tests 2023-11-15 23:11:13 +00:00
net_join_no_spnego.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
net_join.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
netbios.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
netcmd.py pytest/netcmd: fix for new samba-tool api 2022-09-08 22:34:36 +00:00
netlogonsvc.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
ntacls_backup.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
ntacls.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
ntlm_auth_base.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
ntlm_auth_krb5.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
ntlm_auth.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
ntlmdisabled.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
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: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
password_hash_fl2003.py python: get rid of pointless empty overridden methods 2023-11-30 01:05:32 +00:00
password_hash_fl2008.py python: get rid of pointless empty overridden methods 2023-11-30 01:05:32 +00:00
password_hash_gpgme.py python: get rid of pointless empty overridden methods 2023-11-30 01:05:32 +00:00
password_hash_ldap.py python: get rid of pointless empty overridden methods 2023-11-30 01:05:32 +00:00
password_hash.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
password_quality.py
password_test.py
policy.py
posixacl.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
prefork_restart.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
process_limits.py python: get rid of pointless empty overridden methods 2023-11-30 01:05:32 +00:00
provision.py
pso.py
py_credentials.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
registry.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
reparsepoints.py python:tests: Remove semicolons 2023-10-13 03:50:31 +00:00
s3_net_join.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
s3idmapdb.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
s3param.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
s3passdb.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
s3registry.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
s3windb.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
safe_tarfile.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
samba3sam.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
samba_startup_fl_change.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
samba_upgradedns_lmdb.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
samdb_api.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
samdb.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
sddl_conditional_ace.py pytest: sddl tests with conditional ACEs 2023-09-26 23:45:35 +00:00
sddl.py pytest:sddl: assert SDDLValueError values make sense 2023-11-01 20:10:46 +00:00
security_descriptors.py libcli/security/tests: gunzip the oversized-acls test vectors 2023-11-27 02:10:12 +00:00
security.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
segfault.py python:tests: Remove semicolons 2023-10-13 03:50:31 +00:00
sid_strings.py pytests: sid_strings: do not fail if epoch ending has zeros 2023-11-15 04:05:34 +00:00
smb1posix.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
smb2symlink.py python: move clean_file() to samba/tests/libsmb.py 2023-11-13 18:35:32 +00:00
smb3unix.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
smb-notify.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
smb.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
smbconf.py python:tests: Don’t needlessly create single‐element tuple 2023-12-21 20:21:34 +00:00
smbd_base.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
smbd_fuzztest.py python:tests: Remove semicolons 2023-10-13 03:50:31 +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: Permit newer copyright notice 2023-12-08 02:28:33 +00:00
strings.py
subunitrun.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
tdb_util.py python: get rid of pointless empty overridden methods 2023-11-30 01:05:32 +00:00
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 pytest: token_factory note that a flag is not set 2023-11-27 22:37:32 +00:00
upgrade.py
upgradeprovision.py python: tests: update all super calls to python 3 style in tests 2023-11-30 01:05:32 +00:00
upgradeprovisionneeddc.py python: Remove unused parameter ‘samdb’ 2023-12-14 03:31:37 +00:00
usage.py python/blackbox: add rpcd_witness_samba_only.py test 2024-01-26 17:00:33 +00:00
xattr.py python:samba:tests: Fix code spelling 2023-06-23 13:44:31 +00:00