diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-27 16:02:27 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-27 16:02:27 +1000 |
commit | 46e64417a3b14d1c33ca7e97080c64f8e67efec2 (patch) | |
tree | b255872571902fb3444843612cde5ed240d523d4 /source4/ntvfs | |
parent | 848e7c5830a869d86d7fe236acc1e6a1949252d3 (diff) | |
download | samba-46e64417a3b14d1c33ca7e97080c64f8e67efec2.tar.gz samba-46e64417a3b14d1c33ca7e97080c64f8e67efec2.tar.bz2 samba-46e64417a3b14d1c33ca7e97080c64f8e67efec2.zip |
another attempt at the damn SEC_STD_SYNCHRONIZE flag
(This used to be commit 2ac27bfffa557d6c0f71c443b43a8d1967edb177)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_open.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index adcdeb1f2b..908dd449af 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -1155,14 +1155,11 @@ 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)) { + access_mask == SEC_STD_SYNCHRONIZE) { return NT_STATUS_ACCESS_DENIED; } -#endif if (io->ntcreatex.in.file_attr & (FILE_ATTRIBUTE_DEVICE| FILE_ATTRIBUTE_VOLUME| |