summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-27 21:41:11 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-31 21:40:25 +0100
commitc90870f9b728dfb827ebc2fe8ad67a7ca3a50c43 (patch)
tree5f43a380c2b05ec97061b793ed5357d28b97681f
parent09d3df6e7e6aef03a306413e74ecd127215e1921 (diff)
downloadsamba-c90870f9b728dfb827ebc2fe8ad67a7ca3a50c43.tar.gz
samba-c90870f9b728dfb827ebc2fe8ad67a7ca3a50c43.tar.bz2
samba-c90870f9b728dfb827ebc2fe8ad67a7ca3a50c43.zip
s4:torture/smb2: fix compound.invalid2 against windows
Tested against w2k8r2 with signing and win8pre0 without signing. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 21:40:25 CET 2011 on sn-devel-104
-rw-r--r--source4/torture/smb2/compound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/compound.c b/source4/torture/smb2/compound.c
index c40c71dc1d..1caa688a35 100644
--- a/source4/torture/smb2/compound.c
+++ b/source4/torture/smb2/compound.c
@@ -367,9 +367,9 @@ static bool test_compound_invalid2(struct torture_context *tctx,
status = smb2_close_recv(req[1], &cl);
CHECK_STATUS(status, NT_STATUS_OK);
status = smb2_close_recv(req[2], &cl);
- CHECK_STATUS(status, NT_STATUS_FILE_CLOSED);
+ CHECK_STATUS(status, NT_STATUS_USER_SESSION_DELETED);
status = smb2_close_recv(req[3], &cl);
- CHECK_STATUS(status, NT_STATUS_FILE_CLOSED);
+ CHECK_STATUS(status, NT_STATUS_USER_SESSION_DELETED);
status = smb2_close_recv(req[4], &cl);
CHECK_STATUS(status, NT_STATUS_INVALID_PARAMETER);