diff options
author | Michael Adam <obnox@samba.org> | 2012-09-07 16:12:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-09-07 23:39:37 +0200 |
commit | 32956300a75f2952cf32b92fd2403325206be772 (patch) | |
tree | a14f53a706e3df4a5b9984f7771d35db3eb8b0b8 | |
parent | 1b96a6df194b2ac87673cddc0e5506787c952961 (diff) | |
download | samba-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>
-rw-r--r-- | source4/torture/smb2/durable_v2_open.c | 2 |
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; |