]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Add NetUserAdd to libnetapi IDL.
authorGünther Deschner <gd@samba.org>
Wed, 9 Apr 2008 10:35:09 +0000 (12:35 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 9 Apr 2008 11:19:36 +0000 (13:19 +0200)
Guenther

source/librpc/idl/libnetapi.idl

index 679afb0aef63ceaa4e44faf97887ca1f8255bebd..18e3f29e1447ff6124e4c82e0b1491cff52f03cf 100644 (file)
@@ -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
+               );
 }