summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/samr.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-15 12:14:22 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-15 12:14:22 +0000
commit4d00dd9d5d0a134804fb1d0e5e24980efee175a8 (patch)
treeb63dde806a8c0c12cc33cd2f321ad501eade3795 /source4/librpc/idl/samr.idl
parentf272eb3139aebe5fb87666779ebaba04209cbc94 (diff)
downloadsamba-4d00dd9d5d0a134804fb1d0e5e24980efee175a8.tar.gz
samba-4d00dd9d5d0a134804fb1d0e5e24980efee175a8.tar.bz2
samba-4d00dd9d5d0a134804fb1d0e5e24980efee175a8.zip
added OpenGroup and QueryGroupInfo levels 1 to 4
(This used to be commit ffe4fcaab0fe4f6e0f64fb2d57c77442aa2e1f6f)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r--source4/librpc/idl/samr.idl40
1 files changed, 38 insertions, 2 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 90e7a923d8..d906978466 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -245,11 +245,47 @@
/************************/
/* Function 0x13 */
- NTSTATUS samr_OPEN_GROUP();
+ NTSTATUS samr_OpenGroup(
+ [in,ref] policy_handle *handle,
+ [in] uint32 access_mask,
+ [in] uint32 rid,
+ [out,ref] policy_handle *acct_handle
+ );
/************************/
/* Function 0x14 */
- NTSTATUS samr_QUERY_GROUPINFO();
+
+ typedef struct {
+ samr_Name name;
+ uint32 unknown;
+ uint32 members;
+ samr_Name description;
+ } samr_GroupInfoAll;
+
+ typedef struct {
+ samr_Name Name;
+ } samr_GroupInfoName;
+
+ typedef struct {
+ uint32 unknown;
+ } samr_GroupInfoX;
+
+ typedef struct {
+ samr_Name description;
+ } samr_GroupInfoDesciption;
+
+ typedef union {
+ case(1) samr_GroupInfoAll all;
+ case(2) samr_GroupInfoName name;
+ case(3) samr_GroupInfoX unknown;
+ case(4) samr_GroupInfoDesciption description;
+ } samr_GroupInfo;
+
+ NTSTATUS samr_QueryGroupInfo(
+ [in,ref] policy_handle *handle,
+ [in] uint16 level,
+ [out,switch_is(level)] samr_GroupInfo *info
+ );
/************************/
/* Function 0x15 */