From 6fa7bed8545d959e407ec52f8b32b5a335753141 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 29 Aug 2007 12:22:15 +0000 Subject: 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) --- source4/librpc/idl/samr.idl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'source4/librpc/idl') 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 @@ -50,6 +50,14 @@ import "misc.idl", "lsa.idl", "security.idl"; SAMR_ACCESS_OPEN_DOMAIN = 0x00000020 } 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, @@ -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 ); -- cgit