git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb546ab
)
disable the SEC_STD_SYNCHRONIZE test until we know what it means
author
Andrew Tridgell
<tridge@samba.org>
Tue, 27 May 2008 05:27:25 +0000
(15:27 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 27 May 2008 05:27:25 +0000
(15:27 +1000)
source/ntvfs/posix/pvfs_open.c
patch
|
blob
|
history
diff --git
a/source/ntvfs/posix/pvfs_open.c
b/source/ntvfs/posix/pvfs_open.c
index cfa88b6baad40e8dbb511fa7a343f7cd4bf2efc4..adcdeb1f2bbe095d3efd0453a2fbd25535eff7e6 100644
(file)
--- a/
source/ntvfs/posix/pvfs_open.c
+++ b/
source/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|