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 |
|
---|
12 | struct 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 |
|
---|
22 | struct wbint_SidArray {
|
---|
23 | uint32_t num_sids;
|
---|
24 | struct dom_sid *sids;/* [size_is(num_sids)] */
|
---|
25 | }/* [public] */;
|
---|
26 |
|
---|
27 | struct wbint_RidArray {
|
---|
28 | uint32_t num_rids;
|
---|
29 | uint32_t *rids;/* [size_is(num_rids)] */
|
---|
30 | }/* [public] */;
|
---|
31 |
|
---|
32 | struct wbint_Principal {
|
---|
33 | struct dom_sid sid;
|
---|
34 | enum lsa_SidType type;
|
---|
35 | const char *name;/* [unique,charset(UTF8)] */
|
---|
36 | }/* [public] */;
|
---|
37 |
|
---|
38 | struct wbint_Principals {
|
---|
39 | int32_t num_principals;
|
---|
40 | struct wbint_Principal *principals;/* [size_is(num_principals)] */
|
---|
41 | }/* [public] */;
|
---|
42 |
|
---|
43 | struct wbint_userinfos {
|
---|
44 | uint32_t num_userinfos;
|
---|
45 | struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
|
---|
46 | }/* [public] */;
|
---|
47 |
|
---|
48 | enum 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 |
|
---|
64 | struct 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 |
|
---|
76 | struct 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 |
|
---|
91 | struct 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 |
|
---|
107 | struct 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 |
|
---|
121 | struct 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 |
|
---|
135 | struct 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 |
|
---|
149 | struct 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 |
|
---|
163 | struct wbint_AllocateUid {
|
---|
164 | struct {
|
---|
165 | uint64_t *uid;/* [ref] */
|
---|
166 | NTSTATUS result;
|
---|
167 | } out;
|
---|
168 |
|
---|
169 | };
|
---|
170 |
|
---|
171 |
|
---|
172 | struct wbint_AllocateGid {
|
---|
173 | struct {
|
---|
174 | uint64_t *gid;/* [ref] */
|
---|
175 | NTSTATUS result;
|
---|
176 | } out;
|
---|
177 |
|
---|
178 | };
|
---|
179 |
|
---|
180 |
|
---|
181 | struct 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 |
|
---|
194 | struct 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 |
|
---|
207 | struct 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 |
|
---|
220 | struct wbint_QuerySequenceNumber {
|
---|
221 | struct {
|
---|
222 | uint32_t *sequence;/* [ref] */
|
---|
223 | NTSTATUS result;
|
---|
224 | } out;
|
---|
225 |
|
---|
226 | };
|
---|
227 |
|
---|
228 |
|
---|
229 | struct 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 |
|
---|
243 | struct wbint_QueryUserList {
|
---|
244 | struct {
|
---|
245 | struct wbint_userinfos *users;/* [ref] */
|
---|
246 | NTSTATUS result;
|
---|
247 | } out;
|
---|
248 |
|
---|
249 | };
|
---|
250 |
|
---|
251 |
|
---|
252 | struct wbint_QueryGroupList {
|
---|
253 | struct {
|
---|
254 | struct wbint_Principals *groups;/* [ref] */
|
---|
255 | NTSTATUS result;
|
---|
256 | } out;
|
---|
257 |
|
---|
258 | };
|
---|
259 |
|
---|
260 |
|
---|
261 | struct 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 |
|
---|
277 | struct wbint_LookupRids {
|
---|
278 | struct {
|
---|
279 | struct dom_sid *domain_sid;/* [ref] */
|
---|
280 | struct wbint_RidArray *rids;/* [ref] */
|
---|
281 | } in;
|
---|
282 |
|
---|
283 | struct {
|
---|
284 | const char **domain_name;/* [ref,charset(UTF8)] */
|
---|
285 | struct wbint_Principals *names;/* [ref] */
|
---|
286 | NTSTATUS result;
|
---|
287 | } out;
|
---|
288 |
|
---|
289 | };
|
---|
290 |
|
---|
291 |
|
---|
292 | struct wbint_CheckMachineAccount {
|
---|
293 | struct {
|
---|
294 | NTSTATUS result;
|
---|
295 | } out;
|
---|
296 |
|
---|
297 | };
|
---|
298 |
|
---|
299 |
|
---|
300 | struct wbint_ChangeMachineAccount {
|
---|
301 | struct {
|
---|
302 | NTSTATUS result;
|
---|
303 | } out;
|
---|
304 |
|
---|
305 | };
|
---|
306 |
|
---|
307 |
|
---|
308 | struct wbint_PingDc {
|
---|
309 | struct {
|
---|
310 | NTSTATUS result;
|
---|
311 | } out;
|
---|
312 |
|
---|
313 | };
|
---|
314 |
|
---|
315 |
|
---|
316 | struct wbint_SetMapping {
|
---|
317 | struct {
|
---|
318 | struct dom_sid *sid;/* [ref] */
|
---|
319 | enum wbint_IdType type;
|
---|
320 | uint64_t id;
|
---|
321 | } in;
|
---|
322 |
|
---|
323 | struct {
|
---|
324 | NTSTATUS result;
|
---|
325 | } out;
|
---|
326 |
|
---|
327 | };
|
---|
328 |
|
---|
329 |
|
---|
330 | struct wbint_RemoveMapping {
|
---|
331 | struct {
|
---|
332 | struct dom_sid *sid;/* [ref] */
|
---|
333 | enum wbint_IdType type;
|
---|
334 | uint64_t id;
|
---|
335 | } in;
|
---|
336 |
|
---|
337 | struct {
|
---|
338 | NTSTATUS result;
|
---|
339 | } out;
|
---|
340 |
|
---|
341 | };
|
---|
342 |
|
---|
343 |
|
---|
344 | struct wbint_SetHWM {
|
---|
345 | struct {
|
---|
346 | enum wbint_IdType type;
|
---|
347 | uint64_t id;
|
---|
348 | } in;
|
---|
349 |
|
---|
350 | struct {
|
---|
351 | NTSTATUS result;
|
---|
352 | } out;
|
---|
353 |
|
---|
354 | };
|
---|
355 |
|
---|
356 | #endif /* _HEADER_wbint */
|
---|