summaryrefslogtreecommitdiff
path: root/source3/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-15 14:48:34 +0100
committerGünther Deschner <gd@samba.org>2008-01-15 15:29:29 +0100
commit6c9d51782656a51cea5ac5f644decf0cc93a51df (patch)
treea33226d257f9a8f48c2bfd9663d8f879ceac0707 /source3/librpc/idl
parent97f61b542c0e6b1f25ed08fa36792fd90a981e0e (diff)
downloadsamba-6c9d51782656a51cea5ac5f644decf0cc93a51df.tar.gz
samba-6c9d51782656a51cea5ac5f644decf0cc93a51df.tar.bz2
samba-6c9d51782656a51cea5ac5f644decf0cc93a51df.zip
Define libnet join interface in IDL.
Guenther (This used to be commit 7a48779ee5ec8bdd5e2b5eef94fd465f733b74b4)
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r--source3/librpc/idl/libnet_join.idl60
1 files changed, 60 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnet_join.idl b/source3/librpc/idl/libnet_join.idl
new file mode 100644
index 0000000000..2741b7bd7b
--- /dev/null
+++ b/source3/librpc/idl/libnet_join.idl
@@ -0,0 +1,60 @@
+#include "idl_types.h"
+
+import "wkssvc.idl", "security.idl";
+
+/*
+ libnetjoin interface definition
+*/
+
+[
+ pointer_default(unique)
+]
+interface libnetjoin
+{
+ typedef bitmap wkssvc_joinflags wkssvc_joinflags;
+
+ [nopush,nopull] WERROR libnet_JoinCtx(
+ [in] string dc_name,
+ [in] string machine_name,
+ [in,ref] string *domain_name,
+ [in] string account_ou,
+ [in] string admin_account,
+ [in] string admin_password,
+ [in] string machine_password,
+ [in] wkssvc_joinflags join_flags,
+ [in] string os_version,
+ [in] string os_name,
+ [in] boolean8 create_upn,
+ [in] string upn,
+ [in] boolean8 modify_config,
+ [in] ads_struct *ads,
+ [in] boolean8 debug,
+ [out] string account_name,
+ [out] string netbios_domain_name,
+ [out] string dns_domain_name,
+ [out] string dn,
+ [out] dom_sid *domain_sid,
+ [out] boolean8 modified_config,
+ [out] string error_string,
+ [out] boolean8 domain_is_ad
+ );
+
+ [nopush,nopull] WERROR libnet_UnjoinCtx(
+ [in] string dc_name,
+ [in] string machine_name,
+ [in] string domain_name,
+ [in] string account_ou,
+ [in] string admin_account,
+ [in] string admin_password,
+ [in] string machine_password,
+ [in] wkssvc_joinflags unjoin_flags,
+ [in] boolean8 modify_config,
+ [in] dom_sid *domain_sid,
+ [in] ads_struct *ads,
+ [in] boolean8 debug,
+ [out] string netbios_domain_name,
+ [out] string dns_domain_name,
+ [out] boolean8 modified_config,
+ [out] string error_string
+ );
+}