1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

disable the SEC_STD_SYNCHRONIZE test until we know what it means

(This used to be commit 897f4582be)
This commit is contained in:
Andrew Tridgell 2008-05-27 15:27:25 +10:00
parent 7ae464b548
commit cf274201b4

View 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|