summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-07 16:12:39 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-07 23:39:37 +0200
commit32956300a75f2952cf32b92fd2403325206be772 (patch)
treea14f53a706e3df4a5b9984f7771d35db3eb8b0b8 /source4/torture/smb2
parent1b96a6df194b2ac87673cddc0e5506787c952961 (diff)
downloadsamba-32956300a75f2952cf32b92fd2403325206be772.tar.gz
samba-32956300a75f2952cf32b92fd2403325206be772.tar.bz2
samba-32956300a75f2952cf32b92fd2403325206be772.zip
s4:torture:smb2: fix durable-v2-open.reopen2 to pass against windows
The DH2Q response blob is not sent upon successful durable handle v2 reconnect. Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/durable_v2_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/durable_v2_open.c b/source4/torture/smb2/durable_v2_open.c
index 282699f0c7..0a46778d7f 100644
--- a/source4/torture/smb2/durable_v2_open.c
+++ b/source4/torture/smb2/durable_v2_open.c
@@ -533,7 +533,7 @@ bool test_durable_v2_open_reopen2(struct torture_context *tctx,
CHECK_STATUS(status, NT_STATUS_OK);
CHECK_CREATED(&io, EXISTED, FILE_ATTRIBUTE_ARCHIVE);
CHECK_VAL(io.out.durable_open, false);
- CHECK_VAL(io.out.durable_open_v2, true);
+ CHECK_VAL(io.out.durable_open_v2, false); /* no dh2q response blob */
CHECK_VAL(io.out.persistent_open, false);
CHECK_VAL(io.out.oplock_level, smb2_util_oplock_level("b"));
_h = io.out.file.handle;