diff options
author | Jeremy Allison <jra@samba.org> | 1998-06-30 21:19:40 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-06-30 21:19:40 +0000 |
commit | 1829528d1fb2b87c726341aaf8d69d1190f83d6b (patch) | |
tree | 57a65919f6615f03ed093963b456816763f061a8 /source3/include | |
parent | 06e42fa8659483495055eb3aab1982ebf3d0efa3 (diff) | |
download | samba-1829528d1fb2b87c726341aaf8d69d1190f83d6b.tar.gz samba-1829528d1fb2b87c726341aaf8d69d1190f83d6b.tar.bz2 samba-1829528d1fb2b87c726341aaf8d69d1190f83d6b.zip |
nttrans.c: More code towards NT protocol.
smb.h: More code towards NT protocol.
time.c: Fix for sco bug.
Jeremy.
(This used to be commit e53f4396ead540bcf9ecd18f3253e49216404a1b)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 821bf12d94..734dddff14 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1049,8 +1049,18 @@ struct parm_struct /* these are the constants used in the above call. */ /* DesiredAccess */ -#if 0 -/* TODO.... JRA */ +/* File Specific access rights. */ +#define FILE_READ_DATA 0x001 +#define FILE_WRITE_DATA 0x002 +#define FILE_APPEND_DATA 0x004 +#define FILE_READ_EA 0x008 +#define FILE_WRITE_EA 0x010 +#define FILE_EXECUTE 0x020 +#define FILE_DELETE_CHILD 0x040 +#define FILE_READ_ATTRIBUTES 0x080 +#define FILE_WRITE_ATTRIBUTES 0x100 + +/* Generic access masks & rights. */ #define SPECIFIC_RIGHTS_MASK 0x00FFFFL #define STANDARD_RIGHTS_MASK 0xFF0000L #define DELETE_ACCESS (1L<<16) @@ -1060,10 +1070,6 @@ struct parm_struct #define SYNCHRONIZE_ACCESS (1L<<20) #define SYSTEM_SECURITY_ACCESS (1L<<24) -#define GENERIC_READ xxx? -#define GENERIC_WRITE xxx? -#endif - /* Flags field. */ #define REQUEST_OPLOCK 2 #define REQUEST_BATCH_OPLOCK 4 |