summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-09-06 12:38:54 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-07 00:32:30 +0200
commit1874ebeb37ea1604823d8cedb76344b292453d74 (patch)
tree98aae7f8cfe93af600ab4d5c69f2e93928547127
parentafaea04f1cb5a31ba0bfd0f5c8ad37c1bdc6d79e (diff)
downloadsamba-1874ebeb37ea1604823d8cedb76344b292453d74.tar.gz
samba-1874ebeb37ea1604823d8cedb76344b292453d74.tar.bz2
samba-1874ebeb37ea1604823d8cedb76344b292453d74.zip
s4:torture/smb2: check that the server should ignore the fname in a DHnC request
metze
-rw-r--r--source4/torture/smb2/durable_open.c3
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;