From afaea04f1cb5a31ba0bfd0f5c8ad37c1bdc6d79e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 6 Sep 2012 11:49:42 +0200 Subject: [PATCH] s4:torture/smb2: don't expect a DHnQ response in a DHnC request This is fixed in Windows 2012 and matches the [MS-SMB2] documentation now. metze --- source4/torture/smb2/durable_open.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c index 659fa9d508d..faad8666fc2 100644 --- a/source4/torture/smb2/durable_open.c +++ b/source4/torture/smb2/durable_open.c @@ -450,7 +450,6 @@ bool test_durable_open_reopen2(struct torture_context *tctx, status = smb2_create(tree, mem_ctx, &io2); CHECK_STATUS(status, NT_STATUS_OK); CHECK_CREATED(&io2, EXISTED, FILE_ATTRIBUTE_ARCHIVE); - CHECK_VAL(io2.out.durable_open, true); CHECK_VAL(io2.out.oplock_level, smb2_util_oplock_level("b")); _h = io2.out.file.handle; h = &_h; @@ -524,7 +523,6 @@ bool test_durable_open_reopen2a(struct torture_context *tctx, status = smb2_create(tree, mem_ctx, &io2); CHECK_STATUS(status, NT_STATUS_OK); CHECK_CREATED(&io2, EXISTED, FILE_ATTRIBUTE_ARCHIVE); - CHECK_VAL(io2.out.durable_open, true); CHECK_VAL(io2.out.oplock_level, smb2_util_oplock_level("b")); _h = io2.out.file.handle; h = &_h; @@ -689,7 +687,6 @@ bool test_durable_open_reopen4(struct torture_context *tctx, _h = io2.out.file.handle; h = &_h; CHECK_CREATED(&io2, EXISTED, FILE_ATTRIBUTE_ARCHIVE); - CHECK_VAL(io2.out.durable_open, true); CHECK_VAL(io2.out.oplock_level, smb2_util_oplock_level("b")); done: @@ -895,7 +892,6 @@ bool test_durable_open_file_position(struct torture_context *tctx, status = smb2_create(tree2, mem_ctx, &io2); CHECK_STATUS(status, NT_STATUS_OK); - CHECK_VAL(io2.out.durable_open, true); CHECK_VAL(io2.out.oplock_level, SMB2_OPLOCK_LEVEL_BATCH); CHECK_VAL(io2.out.reserved, 0x00); CHECK_VAL(io2.out.create_action, NTCREATEX_ACTION_EXISTED); -- 2.11.4.GIT