From 32317b0529b4322b0c080cc8916f095db0b82cf5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 22 Dec 2011 13:14:21 +0100 Subject: s3:torture/test_smb2: also try PROTOCOL_SMB2_24 metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Thu Dec 22 17:47:17 CET 2011 on sn-devel-104 --- source3/torture/test_smb2.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c index 34fac4d958..48786ae507 100644 --- a/source3/torture/test_smb2.c +++ b/source3/torture/test_smb2.c @@ -211,7 +211,7 @@ bool run_smb2_negprot(int dummy) cli->smb2.pid = 0xFEFF; status = smbXcli_negprot(cli->conn, cli->timeout, - PROTOCOL_CORE, PROTOCOL_SMB2_22); + PROTOCOL_CORE, PROTOCOL_SMB2_24); if (!NT_STATUS_IS_OK(status)) { printf("smbXcli_negprot returned %s\n", nt_errstr(status)); return false; @@ -229,6 +229,9 @@ bool run_smb2_negprot(int dummy) case PROTOCOL_SMB2_22: name = "SMB2_22"; break; + case PROTOCOL_SMB2_24: + name = "SMB2_24"; + break; default: break; } @@ -284,7 +287,7 @@ bool run_smb2_session_reconnect(int dummy) cli1->smb2.pid = 0xFEFF; status = smbXcli_negprot(cli1->conn, cli1->timeout, - PROTOCOL_SMB2_02, PROTOCOL_SMB2_22); + PROTOCOL_SMB2_02, PROTOCOL_SMB2_24); if (!NT_STATUS_IS_OK(status)) { printf("smbXcli_negprot returned %s\n", nt_errstr(status)); return false; @@ -362,7 +365,7 @@ bool run_smb2_session_reconnect(int dummy) cli2->smb2.pid = 0xFEFF; status = smbXcli_negprot(cli2->conn, cli2->timeout, - PROTOCOL_SMB2_02, PROTOCOL_SMB2_22); + PROTOCOL_SMB2_02, PROTOCOL_SMB2_24); if (!NT_STATUS_IS_OK(status)) { printf("smbXcli_negprot returned %s\n", nt_errstr(status)); return false; @@ -664,7 +667,7 @@ bool run_smb2_tcon_dependence(int dummy) cli->smb2.pid = 0xFEFF; status = smbXcli_negprot(cli->conn, cli->timeout, - PROTOCOL_SMB2_02, PROTOCOL_SMB2_22); + PROTOCOL_SMB2_02, PROTOCOL_SMB2_24); if (!NT_STATUS_IS_OK(status)) { printf("smbXcli_negprot returned %s\n", nt_errstr(status)); return false; @@ -781,14 +784,14 @@ bool run_smb2_multi_channel(int dummy) cli2->smb2.pid = 0xFEFF; status = smbXcli_negprot(cli1->conn, cli1->timeout, - PROTOCOL_SMB2_22, PROTOCOL_SMB2_22); + PROTOCOL_SMB2_22, PROTOCOL_SMB2_24); 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_SMB2_22); + PROTOCOL_SMB2_22, PROTOCOL_SMB2_24); if (!NT_STATUS_IS_OK(status)) { printf("smbXcli_negprot returned %s\n", nt_errstr(status)); return false; -- cgit