1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/torture
Pavel Filipenský e97fbcc4b1 s4:torture: Remove test for deprecated WINBINDD_SHOW_SEQUENCE
torture_winbind_struct_show_sequence() is failing if run as:

make -j8 test TESTS="samba4.rpc.lsa.trusted.*ad_dc samba4.winbind.struct.ad_dc"

The reason is that the test constructs two lists of domains and assumes
that the list contain same domains in the same order.

However:

- the list based on DO_STRUCT_REQ_REP(WINBINDD_SHOW_SEQUENCE, &req, &rep) contains 51 domains
- the list based on DO_STRUCT_REQ_REP(WINBINDD_LIST_TRUSTDOM, &req, &rep) contains 39 domains

and we got:

failure: show_sequence [ ../../source4/torture/winbind/struct_based.c:824: domlist[i].netbios_name was TORTURE201, expected TORTURE200: inconsistent order of domain lists
]

Both list are based on full domain list, however the smaller one filters
out domain without trust_type in winbindd_list_trusted_domains():

trust_type = get_trust_type_string(talloc_tos(), d, domain);
if (trust_type == NULL) {
continue;
}

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2024-12-17 12:30:31 +00:00
..
auth lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
basic s4:torture: Initialize struct smb_nttrans 2024-07-16 11:41:33 +00:00
dfs s4:torture:dfs: Fix code spelling 2023-08-14 21:45:29 +00:00
dns s4:torture:dns: Fix code spelling 2023-08-14 21:45:30 +00:00
drs s4: s/the the\b/the/ in miscellaneous comments 2024-11-06 10:57:35 +00:00
gpo lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
krb5 s4:torture:krb5: Fix code spelling 2023-08-14 21:45:30 +00:00
ldap libcli: Move "struct cldap_netlogon" definition to torture 2024-11-11 14:03:04 +00:00
ldb ldb-samba: use ldb_comparison_fold_utf8() 2024-05-22 23:12:32 +00:00
libnet s4-libnet: Split up samba-net into samba-net and samba-net-join 2024-06-05 20:42:34 +00:00
libnetapi netapi: Pass net's cmdline credentials to libnetapi_net_init() 2023-09-11 02:42:41 +00:00
libsmbclient libsmb: Fix test for smbc_getxattr 2023-04-09 10:44:38 +00:00
local util/charset/tests: Add tests for UTF‐16 string length functions 2023-11-15 22:07:36 +00:00
man Argument to control number of operations -o no longer valid 2019-09-18 19:51:11 +00:00
nbench s4:torture:nbench: Fix code spelling 2023-08-14 21:45:30 +00:00
nbt s4:torture: Initialize struct wrepl_wins_name 2024-06-28 12:44:31 +00:00
ndr librpc:ndr: Introduce ‘ndr_flags_type’ type 2023-11-01 20:10:45 +00:00
ntp libcli/auth: also use netlogon_creds_CredentialState_extra_info for the client 2024-10-30 23:08:36 +00:00
rap
raw smbtorture: use torture_assert_ntstatus_equal_goto() in CHECK_STATUS() in unlink.c 2024-11-11 14:01:18 +00:00
rpc s4:torture/rpc: make use of creds->client_requested_flags 2024-12-05 16:46:37 +00:00
smb2 s4:smbtorture: Fix samba3.smb.dir on btrfs 2024-11-29 15:10:13 +00:00
tests s4:torture: Fix shellcheck errors in test_masktest.sh 2022-08-22 20:35:36 +00:00
unix s4/torture/unix_info2: return NULL on failure 2022-06-17 02:18:32 +00:00
vfs smbd: remove "fruit:posix_rename" 2024-10-25 10:42:32 +00:00
winbind s4:torture: Remove test for deprecated WINBINDD_SHOW_SEQUENCE 2024-12-17 12:30:31 +00:00
gentest.c s4:torture: Initialize param arrays 2024-07-01 00:23:08 +00:00
locktest.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
masktest.c s4: torture: Use smbcli_unlink_wcard() to setup and cleanup in masktest. 2021-12-09 18:06:35 +00:00
shell.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
smbtorture.c s4:torture: Fix memory leak 2024-08-01 16:55:43 +00:00
smbtorture.h
torture.c s4:torture: Remove unused include 2021-06-16 00:34:38 +00:00
util_smb.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
util.h s4:torture: add a torture_user2_credentials() helper to pass additional credentials 2021-03-17 00:49:32 +00:00
wscript_build s4-libnet: Split up samba-net into samba-net and samba-net-join 2024-06-05 20:42:34 +00:00