summaryrefslogtreecommitdiff
path: root/source3/librpc/ndr/misc.h
blob: d929379870fd6cecca843550ffbb3b9772477006 (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
/* header auto-generated by pidl */

#ifndef _HEADER_misc
#define _HEADER_misc

struct GUID {
	uint32_t time_low;
	uint16_t time_mid;
	uint16_t time_hi_and_version;
	uint8_t clock_seq[2];
	uint8_t node[6];
}/* [noprint,gensize,public,noejs] */;

struct policy_handle {
	uint32_t handle_type;
	struct GUID uuid;
}/* [public] */;

enum netr_SchannelType {
	SEC_CHAN_WKSTA=2,
	SEC_CHAN_DOMAIN=4,
	SEC_CHAN_BDC=6
};

enum netr_SamDatabaseID {
	SAM_DATABASE_DOMAIN=0,
	SAM_DATABASE_BUILTIN=1,
	SAM_DATABASE_PRIVS=2
};

enum samr_RejectReason {
	SAMR_REJECT_OTHER=0,
	SAMR_REJECT_TOO_SHORT=1,
	SAMR_REJECT_COMPLEXITY=2
};

#endif /* _HEADER_misc */