From: Günther Deschner Date: Wed, 9 Apr 2008 10:35:09 +0000 (+0200) Subject: Add NetUserAdd to libnetapi IDL. X-Git-Tag: samba-3.3.0pre1~2839 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08afca2188d28ff9727d0ae3f051681a1e1dc5c8;p=thirdparty%2Fsamba.git Add NetUserAdd to libnetapi IDL. Guenther --- diff --git a/source/librpc/idl/libnetapi.idl b/source/librpc/idl/libnetapi.idl index 679afb0aef6..18e3f29e144 100644 --- a/source/librpc/idl/libnetapi.idl +++ b/source/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 + ); }