diff options
author | Jeremy Allison <jra@samba.org> | 2007-04-07 06:38:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:14 -0500 |
commit | bd472a542acab7b16c0dd8e0b017b9dd6fc96ad2 (patch) | |
tree | 4b6f72565ca05e84fd31b86fee75eb3047c7446e /source3/include | |
parent | bca29ddbba62320204ac9eb098cdaac9a6b03d80 (diff) | |
download | samba-bd472a542acab7b16c0dd8e0b017b9dd6fc96ad2.tar.gz samba-bd472a542acab7b16c0dd8e0b017b9dd6fc96ad2.tar.bz2 samba-bd472a542acab7b16c0dd8e0b017b9dd6fc96ad2.zip |
r22123: Try and fix the csc (#4404) bug by supporting the extended
response to NTCreateX - need to fix this also for
pipe open and NTTransCreate as well so this isn't
finished.
Jeremy.
(This used to be commit be742f248178ae606dfa3a90c6148a18b42128e3)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index e9352a2fb1..8f54ed7b84 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1199,10 +1199,6 @@ struct bitmap { #define SMB_SUPPORT_SEARCH_BITS 0x0001 #define SMB_SHARE_IN_DFS 0x0002 -/* Share specific rights. */ -#define SHARE_ALL_ACCESS 0x001F01FF -#define SHARE_READ_ONLY 0x001200A9 - /* Named pipe write mode flags. Used in writeX calls. */ #define PIPE_RAW_MODE 0x4 #define PIPE_START_MESSAGE 0x8 @@ -1246,17 +1242,24 @@ struct bitmap { /* Mapping of generic access rights for files to specific rights. */ +/* This maps to 0x1F01FF */ #define FILE_GENERIC_ALL (STANDARD_RIGHTS_REQUIRED_ACCESS| SYNCHRONIZE_ACCESS|FILE_ALL_ACCESS) +/* This maps to 0x120089 */ #define FILE_GENERIC_READ (STANDARD_RIGHTS_READ_ACCESS|FILE_READ_DATA|FILE_READ_ATTRIBUTES|\ FILE_READ_EA|SYNCHRONIZE_ACCESS) +/* This maps to 0x120116 */ #define FILE_GENERIC_WRITE (STD_RIGHT_READ_CONTROL_ACCESS|FILE_WRITE_DATA|FILE_WRITE_ATTRIBUTES|\ FILE_WRITE_EA|FILE_APPEND_DATA|SYNCHRONIZE_ACCESS) #define FILE_GENERIC_EXECUTE (STANDARD_RIGHTS_EXECUTE_ACCESS|\ FILE_EXECUTE|SYNCHRONIZE_ACCESS) +/* Share specific rights. */ +#define SHARE_ALL_ACCESS FILE_GENERIC_ALL +#define SHARE_READ_ONLY (FILE_GENERIC_READ|FILE_EXECUTE) + /* Mapping of access rights to UNIX perms. */ #define UNIX_ACCESS_RWX FILE_GENERIC_ALL #define UNIX_ACCESS_R FILE_GENERIC_READ |