summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-27 15:27:25 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-27 15:27:25 +1000
commitcf274201b4e987faa822a137bb67fa191dabc5e8 (patch)
treed081c0acd94408e8d097beb482a3164bba4d62a5
parent7ae464b548cc6f57b11733e5f5de36e4e1fa0265 (diff)
downloadsamba-cf274201b4e987faa822a137bb67fa191dabc5e8.tar.gz
samba-cf274201b4e987faa822a137bb67fa191dabc5e8.tar.bz2
samba-cf274201b4e987faa822a137bb67fa191dabc5e8.zip
disable the SEC_STD_SYNCHRONIZE test until we know what it means
(This used to be commit 897f4582bee72e319874e8a2d064ba442415571d)
-rw-r--r--source4/ntvfs/posix/pvfs_open.c2
1 files changed, 2 insertions, 0 deletions
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|