]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:ntvfs_generic: pass RAW-OPEN again
authorStefan Metzmacher <metze@samba.org>
Thu, 18 Dec 2008 00:00:47 +0000 (01:00 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 18 Dec 2008 12:32:49 +0000 (13:32 +0100)
This is the samba4 version of commit
9391dad85d08bb0939f4db1472c6cf063ebea892

metze

source4/ntvfs/ntvfs_generic.c

index 554d5c5aef001573a50ccb13580a7c8984d8f700..b03d57166bba0dcad8ad56294abc15ade7605662 100644 (file)
@@ -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;
        }