diff options
author | Ronnie Sahlberg <sahlberg@samba.org> | 2007-08-29 12:22:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:09 -0500 |
commit | 6fa7bed8545d959e407ec52f8b32b5a335753141 (patch) | |
tree | 1dc079cdf3866f8420e537f8ba997f4b7dd08f11 /source4 | |
parent | bf3b40dc14fe31591019b6f6f2b3a1dff8f8746e (diff) | |
download | samba-6fa7bed8545d959e407ec52f8b32b5a335753141.tar.gz samba-6fa7bed8545d959e407ec52f8b32b5a335753141.tar.bz2 samba-6fa7bed8545d959e407ec52f8b32b5a335753141.zip |
r24775: add 5 specific access right bits for the accessmask that refers
to Groups on the samr pipe
the five bits
lookup info
set info
add member
remove member
get members
comes from the wireshark/ethereal sources where they were added in Aug
21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit 1f00ac5dbe8f034d845c4e579a3f517311784900)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/idl/samr.idl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 2f8d08c9b6..25849ea6b7 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -51,6 +51,14 @@ import "misc.idl", "lsa.idl", "security.idl"; } samr_ConnectAccessMask; typedef [bitmap32bit] bitmap { + GROUP_ACCESS_LOOKUP_INFO = 0x00000001, + GROUP_ACCESS_SET_INFO = 0x00000002, + GROUP_ACCESS_ADD_MEMBER = 0x00000004, + GROUP_ACCESS_REMOVE_MEMBER = 0x00000008, + GROUP_ACCESS_GET_MEMBERS = 0x00000010 + } samr_GroupAccessMask; + + typedef [bitmap32bit] bitmap { ALIAS_ACCESS_ADD_MEMBER = 0x00000001, ALIAS_ACCESS_REMOVE_MEMBER = 0x00000002, ALIAS_ACCESS_GET_MEMBERS = 0x00000004, @@ -273,7 +281,7 @@ import "misc.idl", "lsa.idl", "security.idl"; NTSTATUS samr_CreateDomainGroup( [in,ref] policy_handle *domain_handle, [in,ref] lsa_String *name, - [in] uint32 access_mask, + [in] samr_GroupAccessMask access_mask, [out,ref] policy_handle *group_handle, [out,ref] uint32 *rid ); @@ -377,7 +385,7 @@ import "misc.idl", "lsa.idl", "security.idl"; /* Function 0x13 */ NTSTATUS samr_OpenGroup( [in,ref] policy_handle *domain_handle, - [in] uint32 access_mask, + [in] samr_GroupAccessMask access_mask, [in] uint32 rid, [out,ref] policy_handle *group_handle ); |