From c9b1eabf5b3ed1ebd9f7429a037c6bc087432795 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 9 Apr 2008 12:35:09 +0200 Subject: Add NetUserAdd to libnetapi IDL. Guenther (This used to be commit 08afca2188d28ff9727d0ae3f051681a1e1dc5c8) --- source3/librpc/idl/libnetapi.idl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index 679afb0aef..18e3f29e14 100644 --- a/source3/librpc/idl/libnetapi.idl +++ b/source3/librpc/idl/libnetapi.idl @@ -90,4 +90,25 @@ interface libnetapi [out,ref] DOMAIN_CONTROLLER_INFO **dc_info ); + [public] typedef struct { + string usri0_name; + } USER_INFO_0; + + [public] typedef struct { + string usri1_name; + string usri1_password; + uint32 usri1_password_age; + uint32 usri1_priv; + string usri1_home_dir; + string usri1_comment; + uint32 usri1_flags; + string usri1_script_path; + } USER_INFO_1; + + [nopush,nopull] NET_API_STATUS NetUserAdd( + [in,unique] string *server_name, + [in] uint32 level, + [in,ref] uint8 *buffer, + [out,ref] uint32 *parm_error + ); } -- cgit