1 | #include "idl_types.h"
|
---|
2 |
|
---|
3 | import "wkssvc.idl", "security.idl";
|
---|
4 |
|
---|
5 | /*
|
---|
6 | libnetjoin interface definition
|
---|
7 | */
|
---|
8 |
|
---|
9 | [
|
---|
10 | pointer_default(unique)
|
---|
11 | ]
|
---|
12 | interface libnetjoin
|
---|
13 | {
|
---|
14 | typedef bitmap wkssvc_joinflags wkssvc_joinflags;
|
---|
15 | typedef enum netr_SchannelType netr_SchannelType;
|
---|
16 |
|
---|
17 | [nopush,nopull,noopnum] WERROR libnet_JoinCtx(
|
---|
18 | [in] string dc_name,
|
---|
19 | [in] string machine_name,
|
---|
20 | [in,ref] string *domain_name,
|
---|
21 | [in] string account_ou,
|
---|
22 | [in] string admin_account,
|
---|
23 | [in] string admin_password,
|
---|
24 | [in] string machine_password,
|
---|
25 | [in] wkssvc_joinflags join_flags,
|
---|
26 | [in] string os_version,
|
---|
27 | [in] string os_name,
|
---|
28 | [in] boolean8 create_upn,
|
---|
29 | [in] string upn,
|
---|
30 | [in] boolean8 modify_config,
|
---|
31 | [in] ads_struct *ads,
|
---|
32 | [in] boolean8 debug,
|
---|
33 | [in] boolean8 use_kerberos,
|
---|
34 | [in] netr_SchannelType secure_channel_type,
|
---|
35 | [in,noprint] messaging_context *msg_ctx,
|
---|
36 | [out] string account_name,
|
---|
37 | [out] string netbios_domain_name,
|
---|
38 | [out] string dns_domain_name,
|
---|
39 | [out] string forest_name,
|
---|
40 | [out] string dn,
|
---|
41 | [out] dom_sid *domain_sid,
|
---|
42 | [out] boolean8 modified_config,
|
---|
43 | [out] string error_string,
|
---|
44 | [out] boolean8 domain_is_ad
|
---|
45 | );
|
---|
46 |
|
---|
47 | [nopush,nopull,noopnum] WERROR libnet_UnjoinCtx(
|
---|
48 | [in] string dc_name,
|
---|
49 | [in] string machine_name,
|
---|
50 | [in] string domain_name,
|
---|
51 | [in] string account_ou,
|
---|
52 | [in] string admin_account,
|
---|
53 | [in] string admin_password,
|
---|
54 | [in] string machine_password,
|
---|
55 | [in] wkssvc_joinflags unjoin_flags,
|
---|
56 | [in] boolean8 delete_machine_account,
|
---|
57 | [in] boolean8 modify_config,
|
---|
58 | [in] dom_sid *domain_sid,
|
---|
59 | [in] ads_struct *ads,
|
---|
60 | [in] boolean8 debug,
|
---|
61 | [in] boolean8 use_kerberos,
|
---|
62 | [in,noprint] messaging_context *msg_ctx,
|
---|
63 | [out] string netbios_domain_name,
|
---|
64 | [out] string dns_domain_name,
|
---|
65 | [out] string forest_name,
|
---|
66 | [out] boolean8 modified_config,
|
---|
67 | [out] string error_string,
|
---|
68 | [out] boolean8 disabled_machine_account,
|
---|
69 | [out] boolean8 deleted_machine_account
|
---|
70 | );
|
---|
71 | }
|
---|