summaryrefslogtreecommitdiff
path: root/source3/torture/test_smb2.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/test_smb2.c')
-rw-r--r--source3/torture/test_smb2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index 458fc3afcb..1a9009a700 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -1170,6 +1170,12 @@ bool run_smb2_session_reauth(int dummy)
return false;
}
+ status = smb2cli_flush(cli, fid_persistent, fid_volatile);
+ if (!NT_STATUS_IS_OK(status)) {
+ printf("smb2cli_flush returned %s\n", nt_errstr(status));
+ return false;
+ }
+
subreq = smb2cli_session_setup_send(talloc_tos(), ev,
cli->conn,
cli->timeout,