From 1874ebeb37ea1604823d8cedb76344b292453d74 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 6 Sep 2012 12:38:54 +0200 Subject: s4:torture/smb2: check that the server should ignore the fname in a DHnC request metze --- source4/torture/smb2/durable_open.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/torture/smb2/durable_open.c') diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c index faad8666fc..8524fd6a4f 100644 --- a/source4/torture/smb2/durable_open.c +++ b/source4/torture/smb2/durable_open.c @@ -443,7 +443,8 @@ bool test_durable_open_reopen2(struct torture_context *tctx, } ZERO_STRUCT(io2); - io2.in.fname = fname; + /* the path name is ignored by the server */ + io2.in.fname = "__non_existing_fname__"; io2.in.durable_handle = h; h = NULL; -- cgit