Don't require "Modify property" perms to unjoin (bug #6481) "net ads leave" stopped...
[Samba/bb.git] / source / librpc / gen_ndr / libnet_join.h
blob9daf3cd8b247db7d9e33be3ef7bd814da592ab17
1 /* header auto-generated by pidl */
3 #include <stdint.h>
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 {
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;
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;
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 delete_machine_account;
62 uint8_t modify_config;
63 struct dom_sid *domain_sid;/* [ref] */
64 struct ads_struct *ads;/* [ref] */
65 uint8_t debug;
66 uint8_t use_kerberos;
67 struct messaging_context *msg_ctx;/* [noprint,ref] */
68 } in;
70 struct {
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;
78 WERROR result;
79 } out;
83 #endif /* _HEADER_libnetjoin */