summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/schannel.h
blob: d7e3ab3970e5d582341782dfbc1100373937e6bc (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
/* header auto-generated by pidl */

#include <stdint.h>

#include "libcli/util/ntstatus.h"

#include "librpc/gen_ndr/netlogon.h"
#include "librpc/gen_ndr/nbt.h"
#ifndef _HEADER_schannel
#define _HEADER_schannel

struct schannel_bind_3 {
	const char * domain;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
	const char * workstation;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
};

struct schannel_bind_23 {
	const char * domain;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
	const char * workstation;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
	const char * dnsdomain;
	const char * dnsworkstation;
};

union schannel_bind_info {
	struct schannel_bind_3 info3;/* [case(3)] */
	struct schannel_bind_23 info23;/* [case(23)] */
}/* [nodiscriminant] */;

struct schannel_bind {
	uint32_t unknown1;
	uint32_t bind_type;
	union schannel_bind_info u;/* [switch_is(bind_type)] */
}/* [public] */;

struct schannel_bind_ack {
	uint32_t unknown1;
	uint32_t unknown2;
	uint32_t unknown3;
}/* [public] */;

struct netlogon_creds_CredentialState {
	uint32_t negotiate_flags;
	uint8_t session_key[16];
	uint32_t sequence;
	struct netr_Credential seed;
	struct netr_Credential client;
	struct netr_Credential server;
	enum netr_SchannelType secure_channel_type;
	const char *computer_name;/* [charset(UTF8)] */
	const char *account_name;/* [charset(UTF8)] */
	struct dom_sid *sid;/* [unique] */
}/* [public,flag(LIBNDR_PRINT_ARRAY_HEX)] */;

#endif /* _HEADER_schannel */