Add NetUserEnum to libnetapi IDL.
authorGünther Deschner <gd@samba.org>
Wed, 9 Apr 2008 11:41:54 +0000 (13:41 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 9 Apr 2008 11:41:54 +0000 (13:41 +0200)
Guenther
(This used to be commit dbbefb4e97df49dc28d47b5d9ba759f90efb9aab)

source3/librpc/idl/libnetapi.idl

index 82d26938dee8f6875e1e3ef4f3c1128ee2c29fd4..d74df187e6a05736615ef6b89dff7fc35af5f62f 100644 (file)
@@ -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
+               );
 }