• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/librpc/gen_ndr/
1/* header auto-generated by pidl */
2
3#include <stdint.h>
4
5#include "libcli/util/ntstatus.h"
6
7#include "librpc/gen_ndr/lsa.h"
8#include "librpc/gen_ndr/netlogon.h"
9#ifndef _HEADER_wbint
10#define _HEADER_wbint
11
12struct wbint_userinfo {
13	const char *acct_name;/* [unique,charset(UTF8)] */
14	const char *full_name;/* [unique,charset(UTF8)] */
15	const char *homedir;/* [unique,charset(UTF8)] */
16	const char *shell;/* [unique,charset(UTF8)] */
17	uint64_t primary_gid;
18	struct dom_sid user_sid;
19	struct dom_sid group_sid;
20}/* [public] */;
21
22struct wbint_SidArray {
23	uint32_t num_sids;
24	struct dom_sid *sids;/* [size_is(num_sids)] */
25}/* [public] */;
26
27struct wbint_RidArray {
28	uint32_t num_rids;
29	uint32_t *rids;/* [size_is(num_rids)] */
30}/* [public] */;
31
32struct wbint_Principal {
33	struct dom_sid sid;
34	enum lsa_SidType type;
35	const char *name;/* [unique,charset(UTF8)] */
36}/* [public] */;
37
38struct wbint_Principals {
39	int32_t num_principals;
40	struct wbint_Principal *principals;/* [size_is(num_principals)] */
41}/* [public] */;
42
43struct wbint_userinfos {
44	uint32_t num_userinfos;
45	struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
46}/* [public] */;
47
48enum wbint_IdType
49#ifndef USE_UINT_ENUMS
50 {
51	WBINT_ID_TYPE_NOT_SPECIFIED,
52	WBINT_ID_TYPE_UID,
53	WBINT_ID_TYPE_GID
54}
55#else
56 { __donnot_use_enum_wbint_IdType=0x7FFFFFFF}
57#define WBINT_ID_TYPE_NOT_SPECIFIED ( 0 )
58#define WBINT_ID_TYPE_UID ( 1 )
59#define WBINT_ID_TYPE_GID ( 2 )
60#endif
61;
62
63
64struct wbint_Ping {
65	struct {
66		uint32_t in_data;
67	} in;
68
69	struct {
70		uint32_t *out_data;/* [ref] */
71	} out;
72
73};
74
75
76struct wbint_LookupSid {
77	struct {
78		struct dom_sid *sid;/* [ref] */
79	} in;
80
81	struct {
82		enum lsa_SidType *type;/* [ref] */
83		const char **domain;/* [ref,charset(UTF8)] */
84		const char **name;/* [ref,charset(UTF8)] */
85		NTSTATUS result;
86	} out;
87
88};
89
90
91struct wbint_LookupName {
92	struct {
93		const char *domain;/* [ref,charset(UTF8)] */
94		const char *name;/* [ref,charset(UTF8)] */
95		uint32_t flags;
96	} in;
97
98	struct {
99		enum lsa_SidType *type;/* [ref] */
100		struct dom_sid *sid;/* [ref] */
101		NTSTATUS result;
102	} out;
103
104};
105
106
107struct wbint_Sid2Uid {
108	struct {
109		const char *dom_name;/* [unique,charset(UTF8)] */
110		struct dom_sid *sid;/* [ref] */
111	} in;
112
113	struct {
114		uint64_t *uid;/* [ref] */
115		NTSTATUS result;
116	} out;
117
118};
119
120
121struct wbint_Sid2Gid {
122	struct {
123		const char *dom_name;/* [unique,charset(UTF8)] */
124		struct dom_sid *sid;/* [ref] */
125	} in;
126
127	struct {
128		uint64_t *gid;/* [ref] */
129		NTSTATUS result;
130	} out;
131
132};
133
134
135struct wbint_Uid2Sid {
136	struct {
137		const char *dom_name;/* [unique,charset(UTF8)] */
138		uint64_t uid;
139	} in;
140
141	struct {
142		struct dom_sid *sid;/* [ref] */
143		NTSTATUS result;
144	} out;
145
146};
147
148
149struct wbint_Gid2Sid {
150	struct {
151		const char *dom_name;/* [unique,charset(UTF8)] */
152		uint64_t gid;
153	} in;
154
155	struct {
156		struct dom_sid *sid;/* [ref] */
157		NTSTATUS result;
158	} out;
159
160};
161
162
163struct wbint_AllocateUid {
164	struct {
165		uint64_t *uid;/* [ref] */
166		NTSTATUS result;
167	} out;
168
169};
170
171
172struct wbint_AllocateGid {
173	struct {
174		uint64_t *gid;/* [ref] */
175		NTSTATUS result;
176	} out;
177
178};
179
180
181struct wbint_QueryUser {
182	struct {
183		struct dom_sid *sid;/* [ref] */
184	} in;
185
186	struct {
187		struct wbint_userinfo *info;/* [ref] */
188		NTSTATUS result;
189	} out;
190
191};
192
193
194struct wbint_LookupUserAliases {
195	struct {
196		struct wbint_SidArray *sids;/* [ref] */
197	} in;
198
199	struct {
200		struct wbint_RidArray *rids;/* [ref] */
201		NTSTATUS result;
202	} out;
203
204};
205
206
207struct wbint_LookupUserGroups {
208	struct {
209		struct dom_sid *sid;/* [ref] */
210	} in;
211
212	struct {
213		struct wbint_SidArray *sids;/* [ref] */
214		NTSTATUS result;
215	} out;
216
217};
218
219
220struct wbint_QuerySequenceNumber {
221	struct {
222		uint32_t *sequence;/* [ref] */
223		NTSTATUS result;
224	} out;
225
226};
227
228
229struct wbint_LookupGroupMembers {
230	struct {
231		struct dom_sid *sid;/* [ref] */
232		enum lsa_SidType type;
233	} in;
234
235	struct {
236		struct wbint_Principals *members;/* [ref] */
237		NTSTATUS result;
238	} out;
239
240};
241
242
243struct wbint_QueryUserList {
244	struct {
245		struct wbint_userinfos *users;/* [ref] */
246		NTSTATUS result;
247	} out;
248
249};
250
251
252struct wbint_QueryGroupList {
253	struct {
254		struct wbint_Principals *groups;/* [ref] */
255		NTSTATUS result;
256	} out;
257
258};
259
260
261struct wbint_DsGetDcName {
262	struct {
263		const char *domain_name;/* [ref,charset(UTF8)] */
264		struct GUID *domain_guid;/* [unique] */
265		const char *site_name;/* [unique,charset(UTF8)] */
266		uint32_t flags;
267	} in;
268
269	struct {
270		struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
271		NTSTATUS result;
272	} out;
273
274};
275
276
277struct wbint_LookupRids {
278	struct {
279		struct wbint_RidArray *rids;/* [ref] */
280	} in;
281
282	struct {
283		const char **domain_name;/* [ref,charset(UTF8)] */
284		struct wbint_Principals *names;/* [ref] */
285		NTSTATUS result;
286	} out;
287
288};
289
290
291struct wbint_CheckMachineAccount {
292	struct {
293		NTSTATUS result;
294	} out;
295
296};
297
298
299struct wbint_ChangeMachineAccount {
300	struct {
301		NTSTATUS result;
302	} out;
303
304};
305
306
307struct wbint_PingDc {
308	struct {
309		NTSTATUS result;
310	} out;
311
312};
313
314
315struct wbint_SetMapping {
316	struct {
317		struct dom_sid *sid;/* [ref] */
318		enum wbint_IdType type;
319		uint64_t id;
320	} in;
321
322	struct {
323		NTSTATUS result;
324	} out;
325
326};
327
328
329struct wbint_RemoveMapping {
330	struct {
331		struct dom_sid *sid;/* [ref] */
332		enum wbint_IdType type;
333		uint64_t id;
334	} in;
335
336	struct {
337		NTSTATUS result;
338	} out;
339
340};
341
342
343struct wbint_SetHWM {
344	struct {
345		enum wbint_IdType type;
346		uint64_t id;
347	} in;
348
349	struct {
350		NTSTATUS result;
351	} out;
352
353};
354
355#endif /* _HEADER_wbint */
356