diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-02-27 13:18:42 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-02-27 14:55:15 +0100 |
commit | f8cd6e8b59343b6b8224f871fbcda9419b5b9502 (patch) | |
tree | bd8a9665e00126fe7b057e2d826372d3e434f424 | |
parent | 1444d4900fe68ccc5b30ee1c60395f1ad91d210c (diff) | |
download | samba-f8cd6e8b59343b6b8224f871fbcda9419b5b9502.tar.gz samba-f8cd6e8b59343b6b8224f871fbcda9419b5b9502.tar.bz2 samba-f8cd6e8b59343b6b8224f871fbcda9419b5b9502.zip |
s3:torture/test_smb2: show that a session is valid during a multi-leg reauth
metze
-rw-r--r-- | source3/torture/test_smb2.c | 6 |
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, |