summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-07-24 14:20:02 +1000
committerAndrew Tridgell <tridge@samba.org>2008-07-24 14:20:02 +1000
commit091c141abae41f58a75e4b4cbcc4154b5c3343eb (patch)
tree8504e10456db7368fb5c5f2e21a93a2f35796501
parent1d12c640666c574b537d254a07af404e61445f6b (diff)
downloadsamba-091c141abae41f58a75e4b4cbcc4154b5c3343eb.tar.gz
samba-091c141abae41f58a75e4b4cbcc4154b5c3343eb.tar.bz2
samba-091c141abae41f58a75e4b4cbcc4154b5c3343eb.zip
make sure we initialise query_maximal_access
(This used to be commit 036f73d39a7ef882fd76afcd3c11eef483f6c308)
-rw-r--r--source4/smb_server/smb/reply.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index d7ed052ba0..9c4ee993d2 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -2192,6 +2192,7 @@ void smbsrv_reply_ntcreate_and_X(struct smbsrv_request *req)
io->ntcreatex.in.security_flags = CVAL(req->in.vwv, 47);
io->ntcreatex.in.ea_list = NULL;
io->ntcreatex.in.sec_desc = NULL;
+ io->ntcreatex.in.query_maximal_access = false;
/* we use a couple of bits of the create options internally */
if (io->ntcreatex.in.create_options & NTCREATEX_OPTIONS_PRIVATE_MASK) {