summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/libnet_join.h
blob: 0415f030b451ff5d0c8e33e45e089a9bac534cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* header auto-generated by pidl */

#include <stdint.h>

#include "librpc/gen_ndr/wkssvc.h"
#include "librpc/gen_ndr/security.h"
#ifndef _HEADER_libnetjoin
#define _HEADER_libnetjoin

enum netr_SchannelType;


struct libnet_JoinCtx {
	struct {
		const char * dc_name;
		const char * machine_name;
		const char * domain_name;/* [ref] */
		const char * account_ou;
		const char * admin_account;
		const char * admin_password;
		const char * machine_password;
		uint32_t join_flags;
		const char * os_version;
		const char * os_name;
		uint8_t create_upn;
		const char * upn;
		uint8_t modify_config;
		struct ads_struct *ads;/* [ref] */
		uint8_t debug;
		enum netr_SchannelType secure_channel_type;
	} in;

	struct {
		const char * account_name;
		const char * netbios_domain_name;
		const char * dns_domain_name;
		const char * dn;
		struct dom_sid *domain_sid;/* [ref] */
		uint8_t modified_config;
		const char * error_string;
		uint8_t domain_is_ad;
		WERROR result;
	} out;

};


struct libnet_UnjoinCtx {
	struct {
		const char * dc_name;
		const char * machine_name;
		const char * domain_name;
		const char * account_ou;
		const char * admin_account;
		const char * admin_password;
		const char * machine_password;
		uint32_t unjoin_flags;
		uint8_t modify_config;
		struct dom_sid *domain_sid;/* [ref] */
		struct ads_struct *ads;/* [ref] */
		uint8_t debug;
	} in;

	struct {
		const char * netbios_domain_name;
		const char * dns_domain_name;
		uint8_t modified_config;
		const char * error_string;
		uint8_t disabled_machine_account;
		uint8_t deleted_machine_account;
		WERROR result;
	} out;

};

#endif /* _HEADER_libnetjoin */