summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/unixinfo.h
blob: e648394f60f878133bb23eb56b747a5f8c1661ae (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
77
78
79
80
/* header auto-generated by pidl */

#ifndef _HEADER_unixinfo
#define _HEADER_unixinfo

#include "librpc/gen_ndr/security.h"
struct unixinfo_GetPWUidInfo {
	NTSTATUS status;/* [keepref] */
	const char *homedir;/* [unique,keepref,charset(UTF8)] */
	const char *shell;/* [unique,keepref,charset(UTF8)] */
};


struct unixinfo_SidToUid {
	struct {
		struct dom_sid sid;/* [keepref] */
	} in;

	struct {
		uint64_t *uid;/* [keepref,ref] */
		NTSTATUS result;
	} out;

};


struct unixinfo_UidToSid {
	struct {
		uint64_t uid;/* [keepref] */
	} in;

	struct {
		struct dom_sid *sid;/* [keepref,ref] */
		NTSTATUS result;
	} out;

};


struct unixinfo_SidToGid {
	struct {
		struct dom_sid sid;/* [keepref] */
	} in;

	struct {
		uint64_t *gid;/* [keepref,ref] */
		NTSTATUS result;
	} out;

};


struct unixinfo_GidToSid {
	struct {
		uint64_t gid;/* [keepref] */
	} in;

	struct {
		struct dom_sid *sid;/* [keepref,ref] */
		NTSTATUS result;
	} out;

};


struct unixinfo_GetPWUid {
	struct {
		uint32_t *count;/* [keepref,ref,range(0 1023)] */
		uint64_t *uids;/* [keepref,size_is(*count)] */
	} in;

	struct {
		uint32_t *count;/* [keepref,ref,range(0 1023)] */
		struct unixinfo_GetPWUidInfo *infos;/* [keepref,ref,size_is(*count)] */
		NTSTATUS result;
	} out;

};

#endif /* _HEADER_unixinfo */