ed49062a78cdadbd8a5bc4fc1f84390ad82d50bb
[ira/wip.git] / source3 / librpc / gen_ndr / libnet_join.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "librpc/gen_ndr/wkssvc.h"
6 #include "librpc/gen_ndr/security.h"
7 #ifndef _HEADER_libnetjoin
8 #define _HEADER_libnetjoin
9
10 enum netr_SchannelType;
11
12
13 struct libnet_JoinCtx {
14         struct {
15                 const char * dc_name;
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;
22                 uint32_t join_flags;
23                 const char * os_version;
24                 const char * os_name;
25                 uint8_t create_upn;
26                 const char * upn;
27                 uint8_t modify_config;
28                 struct ads_struct *ads;/* [ref] */
29                 uint8_t debug;
30                 uint8_t use_kerberos;
31                 enum netr_SchannelType secure_channel_type;
32                 struct messaging_context *msg_ctx;/* [noprint,ref] */
33         } in;
34
35         struct {
36                 const char * account_name;
37                 const char * netbios_domain_name;
38                 const char * dns_domain_name;
39                 const char * forest_name;
40                 const char * dn;
41                 struct dom_sid *domain_sid;/* [ref] */
42                 uint8_t modified_config;
43                 const char * error_string;
44                 uint8_t domain_is_ad;
45                 WERROR result;
46         } out;
47
48 };
49
50
51 struct libnet_UnjoinCtx {
52         struct {
53                 const char * dc_name;
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 modify_config;
62                 struct dom_sid *domain_sid;/* [ref] */
63                 struct ads_struct *ads;/* [ref] */
64                 uint8_t debug;
65                 uint8_t use_kerberos;
66                 struct messaging_context *msg_ctx;/* [noprint,ref] */
67         } in;
68
69         struct {
70                 const char * netbios_domain_name;
71                 const char * dns_domain_name;
72                 const char * forest_name;
73                 uint8_t modified_config;
74                 const char * error_string;
75                 uint8_t disabled_machine_account;
76                 uint8_t deleted_machine_account;
77                 WERROR result;
78         } out;
79
80 };
81
82 #endif /* _HEADER_libnetjoin */