svn commit: samba r24775 - in branches/SAMBA_4_0/source/librpc/idl: .

sahlberg at samba.org sahlberg at samba.org
Wed Aug 29 12:22:17 GMT 2007


Author: sahlberg
Date: 2007-08-29 12:22:15 +0000 (Wed, 29 Aug 2007)
New Revision: 24775

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24775

Log:
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



Modified:
   branches/SAMBA_4_0/source/librpc/idl/samr.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/samr.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/samr.idl	2007-08-29 11:54:23 UTC (rev 24774)
+++ branches/SAMBA_4_0/source/librpc/idl/samr.idl	2007-08-29 12:22:15 UTC (rev 24775)
@@ -51,6 +51,14 @@
 	} 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 @@
 	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 @@
 	/* 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
 		);



More information about the samba-cvs mailing list