diff options
author | Günther Deschner <gd@samba.org> | 2008-10-23 19:52:34 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-31 21:14:27 +0100 |
commit | 0f9410e8069775cf1a60942029bbffd3d5fbde0c (patch) | |
tree | 1e6b88b5b296801d0d28370f93e9612d33b3516d | |
parent | 5e5edbe76176f1b821c7c54b5bc22952daec7f9a (diff) | |
download | samba-0f9410e8069775cf1a60942029bbffd3d5fbde0c.tar.gz samba-0f9410e8069775cf1a60942029bbffd3d5fbde0c.tar.bz2 samba-0f9410e8069775cf1a60942029bbffd3d5fbde0c.zip |
s3-samr-idl: add Alias Object specific access rights.
Guenther
-rw-r--r-- | source3/librpc/idl/samr.idl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/librpc/idl/samr.idl b/source3/librpc/idl/samr.idl index 4a45c70f80..9f72657620 100644 --- a/source3/librpc/idl/samr.idl +++ b/source3/librpc/idl/samr.idl @@ -187,6 +187,8 @@ import "misc.idl", "lsa.idl", "security.idl"; (STANDARD_RIGHTS_EXECUTE_ACCESS | SAMR_GROUP_ACCESS_LOOKUP_INFO); /* 0x00020001 */ + /* Alias Object specific access rights */ + typedef [bitmap32bit] bitmap { SAMR_ALIAS_ACCESS_ADD_MEMBER = 0x00000001, SAMR_ALIAS_ACCESS_REMOVE_MEMBER = 0x00000002, @@ -195,6 +197,26 @@ import "misc.idl", "lsa.idl", "security.idl"; SAMR_ALIAS_ACCESS_SET_INFO = 0x00000010 } samr_AliasAccessMask; + const int SAMR_ALIAS_ACCESS_ALL_ACCESS = 0x0000001F; + + const int GENERIC_RIGHTS_ALIAS_ALL_ACCESS = + (STANDARD_RIGHTS_REQUIRED_ACCESS | + SAMR_ALIAS_ACCESS_ALL_ACCESS); /* 0x000f001f */ + + const int GENERIC_RIGHTS_ALIAS_READ = + (STANDARD_RIGHTS_READ_ACCESS | + SAMR_ALIAS_ACCESS_GET_MEMBERS); /* 0x00020004 */ + + const int GENERIC_RIGHTS_ALIAS_WRITE = + (STANDARD_RIGHTS_WRITE_ACCESS | + SAMR_ALIAS_ACCESS_REMOVE_MEMBER | + SAMR_ALIAS_ACCESS_ADD_MEMBER | + SAMR_ALIAS_ACCESS_SET_INFO); /* 0x00020013 */ + + const int GENERIC_RIGHTS_ALIAS_EXECUTE = + (STANDARD_RIGHTS_EXECUTE_ACCESS | + SAMR_ALIAS_ACCESS_LOOKUP_INFO); /* 0x00020008 */ + /******************/ /* Function: 0x00 */ NTSTATUS samr_Connect ( |