git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02f0c0d
)
check: NTCREATEX_DISP_OPEN_IF vs. NTCREATEX_DISP_CREATE resulting in FILE_WAS_CREATED
author
Stefan Metzmacher
<metze@samba.org>
Thu, 30 Oct 2014 15:21:15 +0000
(16:21 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 28 Jan 2020 12:26:51 +0000
(13:26 +0100)
source4/torture/raw/oplock.c
patch
|
blob
|
history
diff --git
a/source4/torture/raw/oplock.c
b/source4/torture/raw/oplock.c
index 1d5fd4f8de59750c8f2fa7c2ac8c7a7e5cc5983e..4061d409cf293f5576b8be6d558ec226549cbdf2 100644
(file)
--- a/
source4/torture/raw/oplock.c
+++ b/
source4/torture/raw/oplock.c
@@
-1807,7
+1807,7
@@
static bool test_raw_oplock_batch9(struct torture_context *tctx, struct smbcli_s
NTCREATEX_FLAGS_REQUEST_OPLOCK |
NTCREATEX_FLAGS_REQUEST_BATCH_OPLOCK;
io.ntcreatex.in.access_mask = SEC_FILE_READ_ATTRIBUTE|SEC_FILE_WRITE_ATTRIBUTE|SEC_STD_SYNCHRONIZE;
- io.ntcreatex.in.open_disposition = NTCREATEX_DISP_
CREATE
;
+ io.ntcreatex.in.open_disposition = NTCREATEX_DISP_
OPEN_IF
;
status = smb_raw_open(cli1->tree, tctx, &io);
CHECK_STATUS(tctx, status, NT_STATUS_OK);
fnum = io.ntcreatex.out.file.fnum;