1 /* header auto-generated by pidl */
5 #include "librpc/gen_ndr/wkssvc.h"
6 #include "librpc/gen_ndr/security.h"
7 #ifndef _HEADER_libnetjoin
8 #define _HEADER_libnetjoin
10 enum netr_SchannelType
;
13 struct libnet_JoinCtx
{
16 const char * machine_name
;
17 const char * domain_name
;/* [ref] */
18 const char * account_ou
;
19 const char * admin_account
;
20 const char * admin_password
;
21 const char * machine_password
;
23 const char * os_version
;
27 uint8_t modify_config
;
28 struct ads_struct
*ads
;/* [ref] */
31 enum netr_SchannelType secure_channel_type
;
32 struct messaging_context
*msg_ctx
;/* [noprint,ref] */
36 const char * account_name
;
37 const char * netbios_domain_name
;
38 const char * dns_domain_name
;
39 const char * forest_name
;
41 struct dom_sid
*domain_sid
;/* [ref] */
42 uint8_t modified_config
;
43 const char * error_string
;
51 struct libnet_UnjoinCtx
{
54 const char * machine_name
;
55 const char * domain_name
;
56 const char * account_ou
;
57 const char * admin_account
;
58 const char * admin_password
;
59 const char * machine_password
;
60 uint32_t unjoin_flags
;
61 uint8_t delete_machine_account
;
62 uint8_t modify_config
;
63 struct dom_sid
*domain_sid
;/* [ref] */
64 struct ads_struct
*ads
;/* [ref] */
67 struct messaging_context
*msg_ctx
;/* [noprint,ref] */
71 const char * netbios_domain_name
;
72 const char * dns_domain_name
;
73 const char * forest_name
;
74 uint8_t modified_config
;
75 const char * error_string
;
76 uint8_t disabled_machine_account
;
77 uint8_t deleted_machine_account
;
83 #endif /* _HEADER_libnetjoin */