s4-drs: additional delete test cases
[Samba/eduardoll.git] / source3 / librpc / gen_ndr / wbint.h
blob96b7800624f10173b85a6c4b58b24b1461de51c9
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/lsa.h"
8 #include "librpc/gen_ndr/netlogon.h"
9 #ifndef _HEADER_wbint
10 #define _HEADER_wbint
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] */;
22 struct wbint_SidArray {
23 uint32_t num_sids;
24 struct dom_sid *sids;/* [size_is(num_sids)] */
25 }/* [public] */;
27 struct wbint_RidArray {
28 uint32_t num_rids;
29 uint32_t *rids;/* [size_is(num_rids)] */
30 }/* [public] */;
32 struct wbint_Principal {
33 struct dom_sid sid;
34 enum lsa_SidType type;
35 const char *name;/* [unique,charset(UTF8)] */
36 }/* [public] */;
38 struct wbint_Principals {
39 int32_t num_principals;
40 struct wbint_Principal *principals;/* [size_is(num_principals)] */
41 }/* [public] */;
43 struct wbint_userinfos {
44 uint32_t num_userinfos;
45 struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
46 }/* [public] */;
48 enum wbint_IdType
49 #ifndef USE_UINT_ENUMS
51 WBINT_ID_TYPE_NOT_SPECIFIED,
52 WBINT_ID_TYPE_UID,
53 WBINT_ID_TYPE_GID
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
64 struct wbint_Ping {
65 struct {
66 uint32_t in_data;
67 } in;
69 struct {
70 uint32_t *out_data;/* [ref] */
71 } out;
76 struct wbint_LookupSid {
77 struct {
78 struct dom_sid *sid;/* [ref] */
79 } in;
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;
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;
98 struct {
99 enum lsa_SidType *type;/* [ref] */
100 struct dom_sid *sid;/* [ref] */
101 NTSTATUS result;
102 } out;
107 struct wbint_Sid2Uid {
108 struct {
109 const char *dom_name;/* [unique,charset(UTF8)] */
110 struct dom_sid *sid;/* [ref] */
111 } in;
113 struct {
114 uint64_t *uid;/* [ref] */
115 NTSTATUS result;
116 } out;
121 struct wbint_Sid2Gid {
122 struct {
123 const char *dom_name;/* [unique,charset(UTF8)] */
124 struct dom_sid *sid;/* [ref] */
125 } in;
127 struct {
128 uint64_t *gid;/* [ref] */
129 NTSTATUS result;
130 } out;
135 struct wbint_Uid2Sid {
136 struct {
137 const char *dom_name;/* [unique,charset(UTF8)] */
138 uint64_t uid;
139 } in;
141 struct {
142 struct dom_sid *sid;/* [ref] */
143 NTSTATUS result;
144 } out;
149 struct wbint_Gid2Sid {
150 struct {
151 const char *dom_name;/* [unique,charset(UTF8)] */
152 uint64_t gid;
153 } in;
155 struct {
156 struct dom_sid *sid;/* [ref] */
157 NTSTATUS result;
158 } out;
163 struct wbint_AllocateUid {
164 struct {
165 uint64_t *uid;/* [ref] */
166 NTSTATUS result;
167 } out;
172 struct wbint_AllocateGid {
173 struct {
174 uint64_t *gid;/* [ref] */
175 NTSTATUS result;
176 } out;
181 struct wbint_QueryUser {
182 struct {
183 struct dom_sid *sid;/* [ref] */
184 } in;
186 struct {
187 struct wbint_userinfo *info;/* [ref] */
188 NTSTATUS result;
189 } out;
194 struct wbint_LookupUserAliases {
195 struct {
196 struct wbint_SidArray *sids;/* [ref] */
197 } in;
199 struct {
200 struct wbint_RidArray *rids;/* [ref] */
201 NTSTATUS result;
202 } out;
207 struct wbint_LookupUserGroups {
208 struct {
209 struct dom_sid *sid;/* [ref] */
210 } in;
212 struct {
213 struct wbint_SidArray *sids;/* [ref] */
214 NTSTATUS result;
215 } out;
220 struct wbint_QuerySequenceNumber {
221 struct {
222 uint32_t *sequence;/* [ref] */
223 NTSTATUS result;
224 } out;
229 struct wbint_LookupGroupMembers {
230 struct {
231 struct dom_sid *sid;/* [ref] */
232 enum lsa_SidType type;
233 } in;
235 struct {
236 struct wbint_Principals *members;/* [ref] */
237 NTSTATUS result;
238 } out;
243 struct wbint_QueryUserList {
244 struct {
245 struct wbint_userinfos *users;/* [ref] */
246 NTSTATUS result;
247 } out;
252 struct wbint_QueryGroupList {
253 struct {
254 struct wbint_Principals *groups;/* [ref] */
255 NTSTATUS result;
256 } out;
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;
269 struct {
270 struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
271 NTSTATUS result;
272 } out;
277 struct wbint_LookupRids {
278 struct {
279 struct wbint_RidArray *rids;/* [ref] */
280 } in;
282 struct {
283 struct wbint_Principals *names;/* [ref] */
284 NTSTATUS result;
285 } out;
290 struct wbint_CheckMachineAccount {
291 struct {
292 NTSTATUS result;
293 } out;
298 struct wbint_ChangeMachineAccount {
299 struct {
300 NTSTATUS result;
301 } out;
306 struct wbint_PingDc {
307 struct {
308 NTSTATUS result;
309 } out;
314 struct wbint_SetMapping {
315 struct {
316 struct dom_sid *sid;/* [ref] */
317 enum wbint_IdType type;
318 uint64_t id;
319 } in;
321 struct {
322 NTSTATUS result;
323 } out;
328 struct wbint_RemoveMapping {
329 struct {
330 struct dom_sid *sid;/* [ref] */
331 enum wbint_IdType type;
332 uint64_t id;
333 } in;
335 struct {
336 NTSTATUS result;
337 } out;
342 struct wbint_SetHWM {
343 struct {
344 enum wbint_IdType type;
345 uint64_t id;
346 } in;
348 struct {
349 NTSTATUS result;
350 } out;
354 #endif /* _HEADER_wbint */