summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-18 01:00:47 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-18 13:32:49 +0100
commit71b3582fe43c42c5e8f902957fd3e8d264bbbe5b (patch)
treedd9ae84be1eaf6ac08ce6758fb4809939ee2c8b6 /source4/ntvfs
parent0df30367306c5babf4787abc254cddb10aaff8c7 (diff)
downloadsamba-71b3582fe43c42c5e8f902957fd3e8d264bbbe5b.tar.gz
samba-71b3582fe43c42c5e8f902957fd3e8d264bbbe5b.tar.bz2
samba-71b3582fe43c42c5e8f902957fd3e8d264bbbe5b.zip
s4:ntvfs_generic: pass RAW-OPEN again
This is the samba4 version of commit 9391dad85d08bb0939f4db1472c6cf063ebea892 metze
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs_generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ntvfs/ntvfs_generic.c b/source4/ntvfs/ntvfs_generic.c
index 554d5c5aef..b03d57166b 100644
--- a/source4/ntvfs/ntvfs_generic.c
+++ b/source4/ntvfs/ntvfs_generic.c
@@ -281,6 +281,8 @@ static NTSTATUS map_openx_open(uint16_t flags, uint16_t open_mode,
uint16_t open_func, const char *fname,
union smb_open *io2)
{
+ io2->generic.in.create_options = NTCREATEX_OPTIONS_NON_DIRECTORY_FILE;
+
if (flags & OPENX_FLAGS_REQUEST_OPLOCK) {
io2->generic.in.flags |= NTCREATEX_FLAGS_REQUEST_OPLOCK;
}