3 import
"wkssvc.idl", "security.idl", "misc.idl";
6 libnetjoin interface definition
10 pointer_default(unique),
15 typedef bitmap wkssvc_joinflags wkssvc_joinflags
;
16 typedef enum netr_SchannelType netr_SchannelType
;
18 [nopush
,nopull
,noopnum
] WERROR libnet_JoinCtx
(
20 [in] string machine_name
,
21 [in,ref] string *domain_name
,
22 [in] string account_ou
,
23 [in] string admin_account
,
24 [in] string admin_domain
,
25 [in,noprint
] string admin_password
,
26 [in] string machine_password
,
27 [in] wkssvc_joinflags join_flags
,
28 [in] string os_version
,
30 [in] string os_servicepack
,
31 [in] boolean8 create_upn
,
33 [in] boolean8 modify_config
,
34 [in,unique] ads_struct
*ads
,
36 [in] boolean8 use_kerberos
,
37 [in] netr_SchannelType secure_channel_type
,
38 [in,noprint
] messaging_context
*msg_ctx
,
39 [out] string account_name
,
40 [out] string netbios_domain_name
,
41 [out] string dns_domain_name
,
42 [out] string forest_name
,
44 [out] dom_sid
*domain_sid
,
45 [out] boolean8 modified_config
,
46 [out] string error_string
,
47 [out] boolean8 domain_is_ad
50 [nopush
,nopull
,noopnum
] WERROR libnet_UnjoinCtx
(
52 [in] string machine_name
,
53 [in] string domain_name
,
54 [in] string account_ou
,
55 [in] string admin_account
,
56 [in] string admin_domain
,
57 [in,noprint
] string admin_password
,
58 [in] string machine_password
,
59 [in] wkssvc_joinflags unjoin_flags
,
60 [in] boolean8 delete_machine_account
,
61 [in] boolean8 modify_config
,
62 [in] dom_sid
*domain_sid
,
63 [in,unique] ads_struct
*ads
,
65 [in] boolean8 use_kerberos
,
66 [in,noprint
] messaging_context
*msg_ctx
,
67 [out] string netbios_domain_name
,
68 [out] string dns_domain_name
,
69 [out] string forest_name
,
70 [out] boolean8 modified_config
,
71 [out] string error_string
,
72 [out] boolean8 disabled_machine_account
,
73 [out] boolean8 deleted_machine_account