summaryrefslogtreecommitdiff
path: root/source3/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-09 13:41:54 +0200
committerGünther Deschner <gd@samba.org>2008-04-09 13:41:54 +0200
commitf544ba49beb18fb736002bf9ed7391100b58f752 (patch)
treef3a0bfb6ce1cb14083f9afa55cc40be260e7de73 /source3/librpc/idl
parentb3422d1d1c0471b694769ac9d804643f6a3f73d9 (diff)
downloadsamba-f544ba49beb18fb736002bf9ed7391100b58f752.tar.gz
samba-f544ba49beb18fb736002bf9ed7391100b58f752.tar.bz2
samba-f544ba49beb18fb736002bf9ed7391100b58f752.zip
Add NetUserEnum to libnetapi IDL.
Guenther (This used to be commit dbbefb4e97df49dc28d47b5d9ba759f90efb9aab)
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r--source3/librpc/idl/libnetapi.idl13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl
index 82d26938de..d74df187e6 100644
--- a/source3/librpc/idl/libnetapi.idl
+++ b/source3/librpc/idl/libnetapi.idl
@@ -9,6 +9,8 @@ cpp_quote("#define LIBNETAPI_LOCAL_SERVER(x) (!x || is_myname_or_ipaddr(x))")
]
interface libnetapi
{
+ const int ERROR_MORE_DATA = 234L;
+
[public] typedef [v1_enum] enum {
NERR_Success=0
} NET_API_STATUS;
@@ -116,4 +118,15 @@ interface libnetapi
[in,unique] string *server_name,
[in,ref] string *user_name
);
+
+ [nopush,nopull] NET_API_STATUS NetUserEnum(
+ [in,unique] string *server_name,
+ [in] uint32 level,
+ [in] uint32 filter,
+ [out,ref] uint8 **buffer,
+ [in] uint32 prefmaxlen,
+ [out,ref] uint32 *entries_read,
+ [out,ref] uint32 *total_entries,
+ [in,out,ref] uint32 *resume_handle
+ );
}