s4-netlogon: implement dcesrv_netr_DsRAddressToSitenamesExW
[Samba/aatanasov.git] / source3 / librpc / gen_ndr / wbint.h
blob894e851ed129da5297c0dd180928282f97bd824d
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/lsa.h"
8 #ifndef _HEADER_wbint
9 #define _HEADER_wbint
11 struct wbint_userinfo {
12 const char *acct_name;/* [unique,charset(UTF8)] */
13 const char *full_name;/* [unique,charset(UTF8)] */
14 const char *homedir;/* [unique,charset(UTF8)] */
15 const char *shell;/* [unique,charset(UTF8)] */
16 uint64_t primary_gid;
17 struct dom_sid user_sid;
18 struct dom_sid group_sid;
19 }/* [public] */;
21 struct wbint_SidArray {
22 uint32_t num_sids;
23 struct dom_sid *sids;/* [size_is(num_sids)] */
24 }/* [public] */;
26 struct wbint_RidArray {
27 uint32_t num_rids;
28 uint32_t *rids;/* [size_is(num_rids)] */
29 }/* [public] */;
31 struct wbint_Principal {
32 struct dom_sid sid;
33 enum lsa_SidType type;
34 const char *name;/* [unique,charset(UTF8)] */
35 }/* [public] */;
37 struct wbint_Principals {
38 int32_t num_principals;
39 struct wbint_Principal *principals;/* [size_is(num_principals)] */
40 }/* [public] */;
42 struct wbint_userinfos {
43 uint32_t num_userinfos;
44 struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
45 }/* [public] */;
47 enum wbint_IdType
48 #ifndef USE_UINT_ENUMS
50 WBINT_ID_TYPE_NOT_SPECIFIED,
51 WBINT_ID_TYPE_UID,
52 WBINT_ID_TYPE_GID
54 #else
55 { __donnot_use_enum_wbint_IdType=0x7FFFFFFF}
56 #define WBINT_ID_TYPE_NOT_SPECIFIED ( 0 )
57 #define WBINT_ID_TYPE_UID ( 1 )
58 #define WBINT_ID_TYPE_GID ( 2 )
59 #endif
63 struct wbint_Ping {
64 struct {
65 uint32_t in_data;
66 } in;
68 struct {
69 uint32_t *out_data;/* [ref] */
70 } out;
75 struct wbint_LookupSid {
76 struct {
77 struct dom_sid *sid;/* [ref] */
78 } in;
80 struct {
81 enum lsa_SidType *type;/* [ref] */
82 const char **domain;/* [ref,charset(UTF8)] */
83 const char **name;/* [ref,charset(UTF8)] */
84 NTSTATUS result;
85 } out;
90 struct wbint_LookupName {
91 struct {
92 const char *domain;/* [ref,charset(UTF8)] */
93 const char *name;/* [ref,charset(UTF8)] */
94 uint32_t flags;
95 } in;
97 struct {
98 enum lsa_SidType *type;/* [ref] */
99 struct dom_sid *sid;/* [ref] */
100 NTSTATUS result;
101 } out;
106 struct wbint_Sid2Uid {
107 struct {
108 const char *dom_name;/* [unique,charset(UTF8)] */
109 struct dom_sid *sid;/* [ref] */
110 } in;
112 struct {
113 uint64_t *uid;/* [ref] */
114 NTSTATUS result;
115 } out;
120 struct wbint_Sid2Gid {
121 struct {
122 const char *dom_name;/* [unique,charset(UTF8)] */
123 struct dom_sid *sid;/* [ref] */
124 } in;
126 struct {
127 uint64_t *gid;/* [ref] */
128 NTSTATUS result;
129 } out;
134 struct wbint_Uid2Sid {
135 struct {
136 const char *dom_name;/* [unique,charset(UTF8)] */
137 uint64_t uid;
138 } in;
140 struct {
141 struct dom_sid *sid;/* [ref] */
142 NTSTATUS result;
143 } out;
148 struct wbint_Gid2Sid {
149 struct {
150 const char *dom_name;/* [unique,charset(UTF8)] */
151 uint64_t gid;
152 } in;
154 struct {
155 struct dom_sid *sid;/* [ref] */
156 NTSTATUS result;
157 } out;
162 struct wbint_AllocateUid {
163 struct {
164 uint64_t *uid;/* [ref] */
165 NTSTATUS result;
166 } out;
171 struct wbint_AllocateGid {
172 struct {
173 uint64_t *gid;/* [ref] */
174 NTSTATUS result;
175 } out;
180 struct wbint_QueryUser {
181 struct {
182 struct dom_sid *sid;/* [ref] */
183 } in;
185 struct {
186 struct wbint_userinfo *info;/* [ref] */
187 NTSTATUS result;
188 } out;
193 struct wbint_LookupUserAliases {
194 struct {
195 struct wbint_SidArray *sids;/* [ref] */
196 } in;
198 struct {
199 struct wbint_RidArray *rids;/* [ref] */
200 NTSTATUS result;
201 } out;
206 struct wbint_LookupUserGroups {
207 struct {
208 struct dom_sid *sid;/* [ref] */
209 } in;
211 struct {
212 struct wbint_SidArray *sids;/* [ref] */
213 NTSTATUS result;
214 } out;
219 struct wbint_QuerySequenceNumber {
220 struct {
221 uint32_t *sequence;/* [ref] */
222 NTSTATUS result;
223 } out;
228 struct wbint_LookupGroupMembers {
229 struct {
230 struct dom_sid *sid;/* [ref] */
231 enum lsa_SidType type;
232 } in;
234 struct {
235 struct wbint_Principals *members;/* [ref] */
236 NTSTATUS result;
237 } out;
242 struct wbint_QueryUserList {
243 struct {
244 struct wbint_userinfos *users;/* [ref] */
245 NTSTATUS result;
246 } out;
251 struct wbint_QueryGroupList {
252 struct {
253 struct wbint_Principals *groups;/* [ref] */
254 NTSTATUS result;
255 } out;
260 struct wbint_DsGetDcName {
261 struct {
262 const char *domain_name;/* [ref,charset(UTF8)] */
263 struct GUID *domain_guid;/* [unique] */
264 const char *site_name;/* [unique,charset(UTF8)] */
265 uint32_t flags;
266 } in;
268 struct {
269 struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
270 NTSTATUS result;
271 } out;
276 struct wbint_LookupRids {
277 struct {
278 struct wbint_RidArray *rids;/* [ref] */
279 } in;
281 struct {
282 struct wbint_Principals *names;/* [ref] */
283 NTSTATUS result;
284 } out;
289 struct wbint_CheckMachineAccount {
290 struct {
291 NTSTATUS result;
292 } out;
297 struct wbint_SetMapping {
298 struct {
299 struct dom_sid *sid;/* [ref] */
300 enum wbint_IdType type;
301 uint64_t id;
302 } in;
304 struct {
305 NTSTATUS result;
306 } out;
311 struct wbint_RemoveMapping {
312 struct {
313 struct dom_sid *sid;/* [ref] */
314 enum wbint_IdType type;
315 uint64_t id;
316 } in;
318 struct {
319 NTSTATUS result;
320 } out;
325 struct wbint_SetHWM {
326 struct {
327 enum wbint_IdType type;
328 uint64_t id;
329 } in;
331 struct {
332 NTSTATUS result;
333 } out;
337 #endif /* _HEADER_wbint */