s4:torture/smb2: fix compound.invalid2 against windows
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Oct 2011 19:41:11 +0000 (21:41 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 28 Sep 2012 07:12:45 +0000 (09:12 +0200)
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
(cherry picked from commit c90870f9b728dfb827ebc2fe8ad67a7ca3a50c43)

source4/torture/smb2/compound.c

index 59ed9b1e613bd191f1c7dd2214a5bc1ada1702db..808e01a9834627acedf42a3bf4d79d541db5482a 100644 (file)
@@ -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);