s3:winbind: Add async QueryGroupList
[Samba/aatanasov.git] / source3 / librpc / gen_ndr / wbint.h
blob96466fdca02a6104a7dfaedd87ca4eaba937ce4d
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] */;
48 struct wbint_Ping {
49 struct {
50 uint32_t in_data;
51 } in;
53 struct {
54 uint32_t *out_data;/* [ref] */
55 } out;
60 struct wbint_LookupSid {
61 struct {
62 struct dom_sid *sid;/* [ref] */
63 } in;
65 struct {
66 enum lsa_SidType *type;/* [ref] */
67 const char **domain;/* [ref,charset(UTF8)] */
68 const char **name;/* [ref,charset(UTF8)] */
69 NTSTATUS result;
70 } out;
75 struct wbint_LookupName {
76 struct {
77 const char *domain;/* [ref,charset(UTF8)] */
78 const char *name;/* [ref,charset(UTF8)] */
79 uint32_t flags;
80 } in;
82 struct {
83 enum lsa_SidType *type;/* [ref] */
84 struct dom_sid *sid;/* [ref] */
85 NTSTATUS result;
86 } out;
91 struct wbint_Sid2Uid {
92 struct {
93 const char *dom_name;/* [unique,charset(UTF8)] */
94 struct dom_sid *sid;/* [ref] */
95 } in;
97 struct {
98 uint64_t *uid;/* [ref] */
99 NTSTATUS result;
100 } out;
105 struct wbint_Sid2Gid {
106 struct {
107 const char *dom_name;/* [unique,charset(UTF8)] */
108 struct dom_sid *sid;/* [ref] */
109 } in;
111 struct {
112 uint64_t *gid;/* [ref] */
113 NTSTATUS result;
114 } out;
119 struct wbint_Uid2Sid {
120 struct {
121 const char *dom_name;/* [unique,charset(UTF8)] */
122 uint64_t uid;
123 } in;
125 struct {
126 struct dom_sid *sid;/* [ref] */
127 NTSTATUS result;
128 } out;
133 struct wbint_Gid2Sid {
134 struct {
135 const char *dom_name;/* [unique,charset(UTF8)] */
136 uint64_t gid;
137 } in;
139 struct {
140 struct dom_sid *sid;/* [ref] */
141 NTSTATUS result;
142 } out;
147 struct wbint_QueryUser {
148 struct {
149 struct dom_sid *sid;/* [ref] */
150 } in;
152 struct {
153 struct wbint_userinfo *info;/* [ref] */
154 NTSTATUS result;
155 } out;
160 struct wbint_LookupUserAliases {
161 struct {
162 struct wbint_SidArray *sids;/* [ref] */
163 } in;
165 struct {
166 struct wbint_RidArray *rids;/* [ref] */
167 NTSTATUS result;
168 } out;
173 struct wbint_LookupUserGroups {
174 struct {
175 struct dom_sid *sid;/* [ref] */
176 } in;
178 struct {
179 struct wbint_SidArray *sids;/* [ref] */
180 NTSTATUS result;
181 } out;
186 struct wbint_QuerySequenceNumber {
187 struct {
188 uint32_t *sequence;/* [ref] */
189 NTSTATUS result;
190 } out;
195 struct wbint_LookupGroupMembers {
196 struct {
197 struct dom_sid *sid;/* [ref] */
198 enum lsa_SidType type;
199 } in;
201 struct {
202 struct wbint_Principals *members;/* [ref] */
203 NTSTATUS result;
204 } out;
209 struct wbint_QueryUserList {
210 struct {
211 struct wbint_userinfos *users;/* [ref] */
212 NTSTATUS result;
213 } out;
218 struct wbint_QueryGroupList {
219 struct {
220 struct wbint_Principals *groups;/* [ref] */
221 NTSTATUS result;
222 } out;
227 struct wbint_DsGetDcName {
228 struct {
229 const char *domain_name;/* [ref,charset(UTF8)] */
230 struct GUID *domain_guid;/* [unique] */
231 const char *site_name;/* [unique,charset(UTF8)] */
232 uint32_t flags;
233 } in;
235 struct {
236 struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
237 NTSTATUS result;
238 } out;
243 struct wbint_LookupRids {
244 struct {
245 struct wbint_RidArray *rids;/* [ref] */
246 } in;
248 struct {
249 struct wbint_Principals *names;/* [ref] */
250 NTSTATUS result;
251 } out;
255 #endif /* _HEADER_wbint */