summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-09-06 11:49:42 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-07 00:32:30 +0200
commitafaea04f1cb5a31ba0bfd0f5c8ad37c1bdc6d79e (patch)
tree7dc5bd8b0a4fca896a8bd3fbfbf501d0670f5e31
parent8ba802058644910741dc80940420781450a924b7 (diff)
downloadsamba-afaea04f1cb5a31ba0bfd0f5c8ad37c1bdc6d79e.tar.gz
samba-afaea04f1cb5a31ba0bfd0f5c8ad37c1bdc6d79e.tar.bz2
samba-afaea04f1cb5a31ba0bfd0f5c8ad37c1bdc6d79e.zip
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
-rw-r--r--source4/torture/smb2/durable_open.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c
index 659fa9d508..faad8666fc 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);