summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/samr.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-18 08:03:06 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-18 08:03:06 +0000
commit20f1530a11402a926cdd7b4d1f9dddb360985196 (patch)
tree798a4661a94de12633bbfa03d4487c216513cd1d /source4/librpc/idl/samr.idl
parent30daed2f7cc4baa69a31f139aaa5b5b260febc15 (diff)
downloadsamba-20f1530a11402a926cdd7b4d1f9dddb360985196.tar.gz
samba-20f1530a11402a926cdd7b4d1f9dddb360985196.tar.bz2
samba-20f1530a11402a926cdd7b4d1f9dddb360985196.zip
changed wks to wkssvc (suggestion from metze). Started adding samr_CreateUser().
(This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r--source4/librpc/idl/samr.idl29
1 files changed, 26 insertions, 3 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index a9891c9a19..2ff79c2fd3 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -211,7 +211,13 @@
/************************/
/* Function 0x0c */
- NTSTATUS samr_CREATE_USER_IN_DOMAIN();
+ NTSTATUS samr_CreateUser(
+ [in,ref] policy_handle *handle,
+ [in] samr_Name *username,
+ [in] uint32 access_mask,
+ [out] policy_handle *acct_handle,
+ [out] uint32 *rid
+ );
/************************/
/* Function 0x0d */
@@ -240,7 +246,22 @@
/************************/
/* Function 0x10 */
- NTSTATUS samr_GET_ALIAS_MEMBERSHIP();
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] dom_sid2 *sids;
+ } samr_Sids;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] uint32 *rids;
+ } samr_Rids;
+
+ NTSTATUS samr_GetAliasMembership(
+ [in,ref] policy_handle *handle,
+ [in] samr_Sids *sids,
+ [out] samr_Rids *rids
+ );
/************************/
/* Function 0x11 */
@@ -390,7 +411,9 @@
/************************/
/* Function 0x23 */
- NTSTATUS samr_DELETE_DOM_USER();
+ NTSTATUS samr_DeleteUser(
+ [in,out] policy_handle *handle
+ );
/************************/
/* Function 0x24 */