diff options
-rw-r--r-- | source4/torture/smb2/durable_open.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |