From: Stefan Metzmacher Date: Thu, 6 Sep 2012 10:38:54 +0000 (+0200) Subject: s4:torture/smb2: check that the server should ignore the fname in a DHnC request X-Git-Tag: samba-4.0.0rc1~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1874ebeb37ea1604823d8cedb76344b292453d74;p=thirdparty%2Fsamba.git s4:torture/smb2: check that the server should ignore the fname in a DHnC request metze --- diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c index faad8666fc2..8524fd6a4fd 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;