From 32956300a75f2952cf32b92fd2403325206be772 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Sep 2012 16:12:39 +0200 Subject: [PATCH] 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 --- source4/torture/smb2/durable_v2_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/smb2/durable_v2_open.c b/source4/torture/smb2/durable_v2_open.c index 282699f0c79..0a46778d7f3 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; -- 2.11.4.GIT