make sure we initialise query_maximal_access
authorAndrew Tridgell <tridge@samba.org>
Thu, 24 Jul 2008 04:20:02 +0000 (14:20 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 24 Jul 2008 04:20:02 +0000 (14:20 +1000)
source/smb_server/smb/reply.c

index d7ed052ba0e48661ee85b6befbc21bbfcdd81c64..9c4ee993d20129d445ccec18ab45cd9b4d34e8c2 100644 (file)
@@ -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.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) {
 
        /* we use a couple of bits of the create options internally */
        if (io->ntcreatex.in.create_options & NTCREATEX_OPTIONS_PRIVATE_MASK) {