From 300ab04a07b1de2674528474dba55726c3a3bef1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Feb 2012 13:27:38 +0100 Subject: [PATCH] s3:torture/test_smb2: test handle based calls during reauth in SMB2-MULTI-CHANNEL metze --- source3/torture/test_smb2.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c index 96fc9cfe8b7..f2f9ea0aa30 100644 --- a/source3/torture/test_smb2.c +++ b/source3/torture/test_smb2.c @@ -1224,6 +1224,24 @@ bool run_smb2_multi_channel(int dummy) return false; } + status = smb2cli_flush(cli1, fid_persistent, fid_volatile); + if (!NT_STATUS_IS_OK(status)) { + printf("smb2cli_flush returned %s\n", nt_errstr(status)); + return false; + } + + status = smb2cli_flush(cli2, fid_persistent, fid_volatile); + if (!NT_STATUS_IS_OK(status)) { + printf("smb2cli_flush returned %s\n", nt_errstr(status)); + return false; + } + + status = smb2cli_flush(cli3, fid_persistent, fid_volatile); + if (!NT_STATUS_IS_OK(status)) { + printf("smb2cli_flush returned %s\n", nt_errstr(status)); + return false; + } + status = gensec_update(auth_generic_state->gensec_security, talloc_tos(), ev, out_blob, &in_blob); if (!NT_STATUS_IS_OK(status)) { printf("auth_generic_update returned %s\n", nt_errstr(status)); -- 2.34.1