s4:kdc/db-glue: allow principals in form of computer@EXAMPLE.COM
[Samba.git] / source3 / librpc / idl / libnet_join.idl
blobcb2d9e4dcd922d0591c184f85746dbe9f77c6306
1 #include "idl_types.h"
3 import "wkssvc.idl", "security.idl", "misc.idl";
5 /*
6 libnetjoin interface definition
7 */
10 pointer_default(unique),
11 helper("ads.h")
13 interface libnetjoin
15 typedef bitmap wkssvc_joinflags wkssvc_joinflags;
16 typedef enum netr_SchannelType netr_SchannelType;
18 [nopush,nopull,noopnum] WERROR libnet_JoinCtx(
19 [in] string dc_name,
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,
29 [in] string os_name,
30 [in] string os_servicepack,
31 [in] boolean8 create_upn,
32 [in] string upn,
33 [in] boolean8 modify_config,
34 [in,unique] ads_struct *ads,
35 [in] boolean8 debug,
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,
43 [out] string dn,
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(
51 [in] string dc_name,
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,
64 [in] boolean8 debug,
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