summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/librpc/idl/libnetapi.idl96
1 files changed, 96 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl
index cbd91933e7..94a464d356 100644
--- a/source3/librpc/idl/libnetapi.idl
+++ b/source3/librpc/idl/libnetapi.idl
@@ -25,6 +25,10 @@ interface libnetapi
uint32 sub_auths[MAXSUBAUTHS];
} domsid;
+ /*******************************************/
+ /* NetJoinDomain */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetJoinDomain(
[in,unique] string *server,
[in,ref] string *domain,
@@ -34,6 +38,10 @@ interface libnetapi
[in] uint32 join_flags
);
+ /*******************************************/
+ /* NetUnjoinDomain */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetUnjoinDomain(
[in,unique] string *server_name,
[in,unique] string *account,
@@ -41,12 +49,20 @@ interface libnetapi
[in] uint32 unjoin_flags
);
+ /*******************************************/
+ /* NetGetJoinInformation */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGetJoinInformation(
[in,unique] string *server_name,
[out] string **name_buffer,
[out] uint16 *name_type
);
+ /*******************************************/
+ /* NetGetJoinableOUs */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGetJoinableOUs(
[in,unique] string *server_name,
[in,ref] string *domain,
@@ -56,6 +72,10 @@ interface libnetapi
[out] string ***ous
);
+ /*******************************************/
+ /* NetServerGetInfo */
+ /*******************************************/
+
[public] typedef struct {
string sv1005_comment;
} SERVER_INFO_1005;
@@ -66,6 +86,10 @@ interface libnetapi
[out] uint8 **buffer
);
+ /*******************************************/
+ /* NetServerSetInfo */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetServerSetInfo(
[in,unique] string *server_name,
[in] uint32 level,
@@ -73,18 +97,30 @@ interface libnetapi
[out] uint32 *parm_error
);
+ /*******************************************/
+ /* NetGetDCName */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGetDCName(
[in,unique] string *server_name,
[in,unique] string *domain_name,
[out] uint8 **buffer
);
+ /*******************************************/
+ /* NetGetAnyDCName */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGetAnyDCName(
[in,unique] string *server_name,
[in,unique] string *domain_name,
[out] uint8 **buffer
);
+ /*******************************************/
+ /* DsGetDcName */
+ /*******************************************/
+
[public] typedef struct {
string domain_controller_name;
string domain_controller_address;
@@ -106,6 +142,10 @@ interface libnetapi
[out,ref] DOMAIN_CONTROLLER_INFO **dc_info
);
+ /*******************************************/
+ /* NetUserAdd */
+ /*******************************************/
+
[public] typedef struct {
string usri0_name;
} USER_INFO_0;
@@ -128,11 +168,19 @@ interface libnetapi
[out,ref] uint32 *parm_error
);
+ /*******************************************/
+ /* NetUserDel */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetUserDel(
[in,unique] string *server_name,
[in,ref] string *user_name
);
+ /*******************************************/
+ /* NetUserEnum */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetUserEnum(
[in,unique] string *server_name,
[in] uint32 level,
@@ -144,6 +192,10 @@ interface libnetapi
[in,out,ref] uint32 *resume_handle
);
+ /*******************************************/
+ /* NetQueryDisplayInformation */
+ /*******************************************/
+
[public] typedef struct {
string usri1_name;
string usri1_comment;
@@ -179,6 +231,10 @@ interface libnetapi
[out,ref,noprint] void **buffer
);
+ /*******************************************/
+ /* NetGroupAdd */
+ /*******************************************/
+
typedef struct {
string grpi0_name;
} GROUP_INFO_0;
@@ -217,11 +273,19 @@ interface libnetapi
[out] uint32 *parm_err
);
+ /*******************************************/
+ /* NetGroupDel */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGroupDel(
[in] string server_name,
[in] string group_name
);
+ /*******************************************/
+ /* NetGroupSetInfo */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGroupSetInfo(
[in] string server_name,
[in] string group_name,
@@ -230,6 +294,10 @@ interface libnetapi
[out] uint32 *parm_err
);
+ /*******************************************/
+ /* NetGroupGetInfo */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGroupGetInfo(
[in] string server_name,
[in] string group_name,
@@ -237,18 +305,30 @@ interface libnetapi
[out] uint8 **buf
);
+ /*******************************************/
+ /* NetGroupAddUser */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGroupAddUser(
[in] string server_name,
[in] string group_name,
[in] string user_name
);
+ /*******************************************/
+ /* NetGroupDelUser */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetGroupDelUser(
[in] string server_name,
[in] string group_name,
[in] string user_name
);
+ /*******************************************/
+ /* NetLocalGroupAdd */
+ /*******************************************/
+
typedef struct {
string lgrpi0_name;
} LOCALGROUP_INFO_0;
@@ -269,11 +349,19 @@ interface libnetapi
[out,ref] uint32 *parm_err
);
+ /*******************************************/
+ /* NetLocalGroupDel */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetLocalGroupDel(
[in] string server_name,
[in] string group_name
);
+ /*******************************************/
+ /* NetLocalGroupGetInfo */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetLocalGroupGetInfo(
[in] string server_name,
[in] string group_name,
@@ -281,6 +369,10 @@ interface libnetapi
[out,ref] uint8 **buf
);
+ /*******************************************/
+ /* NetLocalGroupSetInfo */
+ /*******************************************/
+
[nopush,nopull] NET_API_STATUS NetLocalGroupSetInfo(
[in] string server_name,
[in] string group_name,
@@ -289,6 +381,10 @@ interface libnetapi
[out,ref] uint32 *parm_err
);
+ /*******************************************/
+ /* NetRemoteTOD */
+ /*******************************************/
+
typedef struct {
uint32 tod_elapsedt;
uint32 tod_msecs;