s4:torture/smb2: check that the server should ignore the fname in a DHnC request
authorStefan Metzmacher <metze@samba.org>
Thu, 6 Sep 2012 10:38:54 +0000 (12:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 6 Sep 2012 22:32:30 +0000 (00:32 +0200)
metze

source4/torture/smb2/durable_open.c

index faad8666fc2bea982b41348f04fac0b9fc016a69..8524fd6a4fd76addec62718f128c125feb0fedc5 100644 (file)
@@ -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;