| 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 | enum netr_SchannelType secure_channel_type;
|
|---|
| 31 | struct messaging_context *msg_ctx;/* [noprint,ref] */
|
|---|
| 32 | } in;
|
|---|
| 33 |
|
|---|
| 34 | struct {
|
|---|
| 35 | const char * account_name;
|
|---|
| 36 | const char * netbios_domain_name;
|
|---|
| 37 | const char * dns_domain_name;
|
|---|
| 38 | const char * dn;
|
|---|
| 39 | struct dom_sid *domain_sid;/* [ref] */
|
|---|
| 40 | uint8_t modified_config;
|
|---|
| 41 | const char * error_string;
|
|---|
| 42 | uint8_t domain_is_ad;
|
|---|
| 43 | WERROR result;
|
|---|
| 44 | } out;
|
|---|
| 45 |
|
|---|
| 46 | };
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 | struct libnet_UnjoinCtx {
|
|---|
| 50 | struct {
|
|---|
| 51 | const char * dc_name;
|
|---|
| 52 | const char * machine_name;
|
|---|
| 53 | const char * domain_name;
|
|---|
| 54 | const char * account_ou;
|
|---|
| 55 | const char * admin_account;
|
|---|
| 56 | const char * admin_password;
|
|---|
| 57 | const char * machine_password;
|
|---|
| 58 | uint32_t unjoin_flags;
|
|---|
| 59 | uint8_t modify_config;
|
|---|
| 60 | struct dom_sid *domain_sid;/* [ref] */
|
|---|
| 61 | struct ads_struct *ads;/* [ref] */
|
|---|
| 62 | uint8_t debug;
|
|---|
| 63 | struct messaging_context *msg_ctx;/* [noprint,ref] */
|
|---|
| 64 | } in;
|
|---|
| 65 |
|
|---|
| 66 | struct {
|
|---|
| 67 | const char * netbios_domain_name;
|
|---|
| 68 | const char * dns_domain_name;
|
|---|
| 69 | uint8_t modified_config;
|
|---|
| 70 | const char * error_string;
|
|---|
| 71 | uint8_t disabled_machine_account;
|
|---|
| 72 | uint8_t deleted_machine_account;
|
|---|
| 73 | WERROR result;
|
|---|
| 74 | } out;
|
|---|
| 75 |
|
|---|
| 76 | };
|
|---|
| 77 |
|
|---|
| 78 | #endif /* _HEADER_libnetjoin */
|
|---|