| 1 | /* header auto-generated by pidl */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _PIDL_HEADER_libnetjoin
|
|---|
| 4 | #define _PIDL_HEADER_libnetjoin
|
|---|
| 5 |
|
|---|
| 6 | #include <stdint.h>
|
|---|
| 7 |
|
|---|
| 8 | #include "libcli/util/ntstatus.h"
|
|---|
| 9 |
|
|---|
| 10 | #include "librpc/gen_ndr/wkssvc.h"
|
|---|
| 11 | #include "librpc/gen_ndr/security.h"
|
|---|
| 12 | #include "librpc/gen_ndr/misc.h"
|
|---|
| 13 | #ifndef _HEADER_libnetjoin
|
|---|
| 14 | #define _HEADER_libnetjoin
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | struct libnet_JoinCtx {
|
|---|
| 18 | struct {
|
|---|
| 19 | const char * dc_name;
|
|---|
| 20 | const char * machine_name;
|
|---|
| 21 | const char * domain_name;/* [ref] */
|
|---|
| 22 | const char * account_ou;
|
|---|
| 23 | const char * admin_account;
|
|---|
| 24 | const char * admin_password;/* [noprint] */
|
|---|
| 25 | const char * machine_password;
|
|---|
| 26 | uint32_t join_flags;
|
|---|
| 27 | const char * os_version;
|
|---|
| 28 | const char * os_name;
|
|---|
| 29 | uint8_t create_upn;
|
|---|
| 30 | const char * upn;
|
|---|
| 31 | uint8_t modify_config;
|
|---|
| 32 | struct ads_struct *ads;/* [unique] */
|
|---|
| 33 | uint8_t debug;
|
|---|
| 34 | uint8_t use_kerberos;
|
|---|
| 35 | enum netr_SchannelType secure_channel_type;
|
|---|
| 36 | struct messaging_context *msg_ctx;/* [noprint,ref] */
|
|---|
| 37 | } in;
|
|---|
| 38 |
|
|---|
| 39 | struct {
|
|---|
| 40 | const char * account_name;
|
|---|
| 41 | const char * netbios_domain_name;
|
|---|
| 42 | const char * dns_domain_name;
|
|---|
| 43 | const char * forest_name;
|
|---|
| 44 | const char * dn;
|
|---|
| 45 | struct dom_sid *domain_sid;/* [ref] */
|
|---|
| 46 | uint8_t modified_config;
|
|---|
| 47 | const char * error_string;
|
|---|
| 48 | uint8_t domain_is_ad;
|
|---|
| 49 | WERROR result;
|
|---|
| 50 | } out;
|
|---|
| 51 |
|
|---|
| 52 | };
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | struct libnet_UnjoinCtx {
|
|---|
| 56 | struct {
|
|---|
| 57 | const char * dc_name;
|
|---|
| 58 | const char * machine_name;
|
|---|
| 59 | const char * domain_name;
|
|---|
| 60 | const char * account_ou;
|
|---|
| 61 | const char * admin_account;
|
|---|
| 62 | const char * admin_password;/* [noprint] */
|
|---|
| 63 | const char * machine_password;
|
|---|
| 64 | uint32_t unjoin_flags;
|
|---|
| 65 | uint8_t delete_machine_account;
|
|---|
| 66 | uint8_t modify_config;
|
|---|
| 67 | struct dom_sid *domain_sid;/* [ref] */
|
|---|
| 68 | struct ads_struct *ads;/* [unique] */
|
|---|
| 69 | uint8_t debug;
|
|---|
| 70 | uint8_t use_kerberos;
|
|---|
| 71 | struct messaging_context *msg_ctx;/* [noprint,ref] */
|
|---|
| 72 | } in;
|
|---|
| 73 |
|
|---|
| 74 | struct {
|
|---|
| 75 | const char * netbios_domain_name;
|
|---|
| 76 | const char * dns_domain_name;
|
|---|
| 77 | const char * forest_name;
|
|---|
| 78 | uint8_t modified_config;
|
|---|
| 79 | const char * error_string;
|
|---|
| 80 | uint8_t disabled_machine_account;
|
|---|
| 81 | uint8_t deleted_machine_account;
|
|---|
| 82 | WERROR result;
|
|---|
| 83 | } out;
|
|---|
| 84 |
|
|---|
| 85 | };
|
|---|
| 86 |
|
|---|
| 87 | #endif /* _HEADER_libnetjoin */
|
|---|
| 88 | #endif /* _PIDL_HEADER_libnetjoin */
|
|---|