summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-02-27 13:27:38 +0100
committerStefan Metzmacher <metze@samba.org>2012-02-29 05:49:11 +0100
commit300ab04a07b1de2674528474dba55726c3a3bef1 (patch)
tree701c4e42f407db4c3716464467e346f5bcf57e7f
parent2fced53cfe768b15791208331dea5a9e91ac9567 (diff)
downloadsamba-300ab04a07b1de2674528474dba55726c3a3bef1.tar.gz
samba-300ab04a07b1de2674528474dba55726c3a3bef1.tar.bz2
samba-300ab04a07b1de2674528474dba55726c3a3bef1.zip
s3:torture/test_smb2: test handle based calls during reauth in SMB2-MULTI-CHANNEL
metze
-rw-r--r--source3/torture/test_smb2.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index 96fc9cfe8b..f2f9ea0aa3 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));