summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/unixinfo.h
blob: 61747aeb9d5b53f90615d32b4d21933a8cd2757a (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 */

#include "librpc/gen_ndr/security.h"
#ifndef _HEADER_unixinfo
#define _HEADER_unixinfo

struct unixinfo_GetPWUidInfo {
	NTSTATUS status;
	const char * homedir;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
	const char * shell;/* [flag(LIBNDR_FLAG_STR_UTF8|LIBNDR_FLAG_STR_NULLTERM)] */
};


struct unixinfo_SidToUid {
	struct {
		struct dom_sid sid;
	} in;

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

};


struct unixinfo_UidToSid {
	struct {
		uint64_t uid;
	} in;

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

};


struct unixinfo_SidToGid {
	struct {
		struct dom_sid sid;
	} in;

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

};


struct unixinfo_GidToSid {
	struct {
		uint64_t gid;
	} in;

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

};


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

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

};

#endif /* _HEADER_unixinfo */