summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/samr.idl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-12-03 03:10:10 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-12-03 03:10:10 +0000
commitec92e2f9a2b9966c052621026b0763f42b6bd6a7 (patch)
treefb903155d9b51384d584f1a4f0aed5f1dc99d917 /source4/librpc/idl/samr.idl
parentea507ee6059215b9605443ba3e9405089207e9e8 (diff)
downloadsamba-ec92e2f9a2b9966c052621026b0763f42b6bd6a7.tar.gz
samba-ec92e2f9a2b9966c052621026b0763f42b6bd6a7.tar.bz2
samba-ec92e2f9a2b9966c052621026b0763f42b6bd6a7.zip
My first stab at Samba4 IDL!
This patch adds the samr_CreateUser2 function, which is create_user in Samba 3.0. This also adds a torture suite that checks for various valid and invalid account flags, and that they are persistant. Also, a patch by Anthony Liguori to fix the build Andrew Bartlett (This used to be commit 53e657b74572ab329d4598a85e6989547c324209)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r--source4/librpc/idl/samr.idl12
1 files changed, 11 insertions, 1 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index e690e7b616..ec6d2f8d67 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -767,7 +767,17 @@
/************************/
/* Function 0x32 */
- NTSTATUS samr_CREATE_USER2_IN_DOMAIN();
+ NTSTATUS samr_CreateUser2(
+ /************************/
+ [in,ref] policy_handle *handle,
+ [in,ref] samr_Name *username,
+ [in] uint32 acct_flags,
+ [in] uint32 access_mask,
+ [out,ref] policy_handle *acct_handle,
+ [out,ref] uint32 *access_granted,
+ [out,ref] uint32 *rid
+ );
+
/************************/
/* Function 0x33 */