w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new API
[Samba/aatanasov.git] / source3 / librpc / gen_ndr / wbint.h
blobfa2301143f885ab916139d68102c9e62a401c1d8
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_AllocateUid {
148 struct {
149 uint64_t *uid;/* [ref] */
150 NTSTATUS result;
151 } out;
156 struct wbint_AllocateGid {
157 struct {
158 uint64_t *gid;/* [ref] */
159 NTSTATUS result;
160 } out;
165 struct wbint_QueryUser {
166 struct {
167 struct dom_sid *sid;/* [ref] */
168 } in;
170 struct {
171 struct wbint_userinfo *info;/* [ref] */
172 NTSTATUS result;
173 } out;
178 struct wbint_LookupUserAliases {
179 struct {
180 struct wbint_SidArray *sids;/* [ref] */
181 } in;
183 struct {
184 struct wbint_RidArray *rids;/* [ref] */
185 NTSTATUS result;
186 } out;
191 struct wbint_LookupUserGroups {
192 struct {
193 struct dom_sid *sid;/* [ref] */
194 } in;
196 struct {
197 struct wbint_SidArray *sids;/* [ref] */
198 NTSTATUS result;
199 } out;
204 struct wbint_QuerySequenceNumber {
205 struct {
206 uint32_t *sequence;/* [ref] */
207 NTSTATUS result;
208 } out;
213 struct wbint_LookupGroupMembers {
214 struct {
215 struct dom_sid *sid;/* [ref] */
216 enum lsa_SidType type;
217 } in;
219 struct {
220 struct wbint_Principals *members;/* [ref] */
221 NTSTATUS result;
222 } out;
227 struct wbint_QueryUserList {
228 struct {
229 struct wbint_userinfos *users;/* [ref] */
230 NTSTATUS result;
231 } out;
236 struct wbint_QueryGroupList {
237 struct {
238 struct wbint_Principals *groups;/* [ref] */
239 NTSTATUS result;
240 } out;
245 struct wbint_DsGetDcName {
246 struct {
247 const char *domain_name;/* [ref,charset(UTF8)] */
248 struct GUID *domain_guid;/* [unique] */
249 const char *site_name;/* [unique,charset(UTF8)] */
250 uint32_t flags;
251 } in;
253 struct {
254 struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
255 NTSTATUS result;
256 } out;
261 struct wbint_LookupRids {
262 struct {
263 struct wbint_RidArray *rids;/* [ref] */
264 } in;
266 struct {
267 struct wbint_Principals *names;/* [ref] */
268 NTSTATUS result;
269 } out;
273 #endif /* _HEADER_wbint */