disable the SEC_STD_SYNCHRONIZE test until we know what it means
authorAndrew Tridgell <tridge@samba.org>
Tue, 27 May 2008 05:27:25 +0000 (15:27 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 27 May 2008 05:27:25 +0000 (15:27 +1000)
source/ntvfs/posix/pvfs_open.c

index cfa88b6baad40e8dbb511fa7a343f7cd4bf2efc4..adcdeb1f2bbe095d3efd0453a2fbd25535eff7e6 100644 (file)
@@ -1155,12 +1155,14 @@ NTSTATUS pvfs_open(struct ntvfs_module_context *ntvfs,
                return NT_STATUS_ACCESS_DENIED;
        }
 
+#if 0
        /* what does this bit really mean?? */
        if (req->ctx->protocol == PROTOCOL_SMB2 &&
            (access_mask & SEC_STD_SYNCHRONIZE) &&
            !(access_mask & SEC_STD_READ_CONTROL)) {
                return NT_STATUS_ACCESS_DENIED;
        }
+#endif
 
        if (io->ntcreatex.in.file_attr & (FILE_ATTRIBUTE_DEVICE|
                                          FILE_ATTRIBUTE_VOLUME|