From cf274201b4e987faa822a137bb67fa191dabc5e8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 27 May 2008 15:27:25 +1000 Subject: disable the SEC_STD_SYNCHRONIZE test until we know what it means (This used to be commit 897f4582bee72e319874e8a2d064ba442415571d) --- source4/ntvfs/posix/pvfs_open.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index cfa88b6baa..adcdeb1f2b 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -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| -- cgit