summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_misc.h
blob: 8869b535ec9880bb26949af21be817bfd22f3692 (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
/* header auto-generated by pidl */

struct dom_sid {
	uint8 sid_rev_num;
	uint8 num_auths;
	uint8 id_auth[6];
	uint32 *sub_auths;
};

struct security_ace {
	uint8 type;
	uint8 flags;
	uint32 access_mask;
	struct dom_sid trustee;
};

struct security_acl {
	uint16 revision;
	uint32 num_aces;
	struct security_ace *aces;
};

struct security_descriptor {
	uint8 revision;
	uint16 type;
	struct dom_sid *owner_sid;
	struct dom_sid *group_sid;
	struct security_acl *sacl;
	struct security_acl *dacl;
};