mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4-samr: merge Alias Object specific access rights from s3 idl.
Guenther
This commit is contained in:
parent
6ccd31b393
commit
27021fe400
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user