From: Stefan Metzmacher Date: Fri, 9 Jul 2021 09:57:17 +0000 (+0200) Subject: s3:torture: replace PROTOCOL_SMB2_22 with PROTOCOL_SMB3_00 X-Git-Tag: samba-4.15.0rc1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea102d3b1b9f2ca78a276143dedb0e88abde8c77;p=thirdparty%2Fsamba.git s3:torture: replace PROTOCOL_SMB2_22 with PROTOCOL_SMB3_00 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c index feb8b654f3b..c7fcb3994ba 100644 --- a/source3/torture/test_smb2.c +++ b/source3/torture/test_smb2.c @@ -888,21 +888,21 @@ bool run_smb2_multi_channel(int dummy) cli_state_client_guid = saved_guid; status = smbXcli_negprot(cli1->conn, cli1->timeout, - PROTOCOL_SMB2_22, PROTOCOL_LATEST); + PROTOCOL_SMB3_00, PROTOCOL_LATEST); if (!NT_STATUS_IS_OK(status)) { printf("smbXcli_negprot returned %s\n", nt_errstr(status)); return false; } status = smbXcli_negprot(cli2->conn, cli2->timeout, - PROTOCOL_SMB2_22, PROTOCOL_LATEST); + PROTOCOL_SMB3_00, PROTOCOL_LATEST); if (!NT_STATUS_IS_OK(status)) { printf("smbXcli_negprot returned %s\n", nt_errstr(status)); return false; } status = smbXcli_negprot(cli3->conn, cli3->timeout, - PROTOCOL_SMB2_22, PROTOCOL_LATEST); + PROTOCOL_SMB3_00, PROTOCOL_LATEST); if (!NT_STATUS_IS_OK(status)) { printf("smbXcli_negprot returned %s\n", nt_errstr(status)); return false; @@ -1456,7 +1456,7 @@ bool run_smb2_session_reauth(int dummy) * PROTOCOL_SMB2_22 has a bug in win8pre0 * it behaves like PROTOCOL_SMB2_02 * and returns NT_STATUS_REQUEST_NOT_ACCEPTED, - * while it allows it on PROTOCOL_SMB2_02. + * while it allows it on PROTOCOL_SMB2_10. */ status = smbXcli_negprot(cli->conn, cli->timeout, PROTOCOL_SMB2_10, PROTOCOL_SMB2_10);