summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-09 12:35:09 +0200
committerGünther Deschner <gd@samba.org>2008-04-09 13:19:36 +0200
commitc9b1eabf5b3ed1ebd9f7429a037c6bc087432795 (patch)
tree6cf65afa547ee5099a5c6c88d88edfddf2deb515 /source3
parent8d0ad6413eeeefd36c21f2d1a99a085da1df0b32 (diff)
downloadsamba-c9b1eabf5b3ed1ebd9f7429a037c6bc087432795.tar.gz
samba-c9b1eabf5b3ed1ebd9f7429a037c6bc087432795.tar.bz2
samba-c9b1eabf5b3ed1ebd9f7429a037c6bc087432795.zip
Add NetUserAdd to libnetapi IDL.
Guenther (This used to be commit 08afca2188d28ff9727d0ae3f051681a1e1dc5c8)
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/idl/libnetapi.idl21
1 files changed, 21 insertions, 0 deletions
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
+ );
}