From ec92e2f9a2b9966c052621026b0763f42b6bd6a7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 3 Dec 2003 03:10:10 +0000 Subject: 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) --- source4/librpc/idl/samr.idl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'source4/librpc/idl') 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 */ -- cgit