1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/lsa.h"
8 #include "librpc/gen_ndr/netlogon.h"
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)] */
18 struct dom_sid user_sid;
19 struct dom_sid group_sid;
22 struct wbint_SidArray {
24 struct dom_sid *sids;/* [size_is(num_sids)] */
27 struct wbint_RidArray {
29 uint32_t *rids;/* [size_is(num_rids)] */
32 struct wbint_Principal {
34 enum lsa_SidType type;
35 const char *name;/* [unique,charset(UTF8)] */
38 struct wbint_Principals {
39 int32_t num_principals;
40 struct wbint_Principal *principals;/* [size_is(num_principals)] */
43 struct wbint_userinfos {
44 uint32_t num_userinfos;
45 struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
49 #ifndef USE_UINT_ENUMS
51 WBINT_ID_TYPE_NOT_SPECIFIED,
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 )
70 uint32_t *out_data;/* [ref] */
76 struct wbint_LookupSid {
78 struct dom_sid *sid;/* [ref] */
82 enum lsa_SidType *type;/* [ref] */
83 const char **domain;/* [ref,charset(UTF8)] */
84 const char **name;/* [ref,charset(UTF8)] */
91 struct wbint_LookupName {
93 const char *domain;/* [ref,charset(UTF8)] */
94 const char *name;/* [ref,charset(UTF8)] */
99 enum lsa_SidType *type;/* [ref] */
100 struct dom_sid *sid;/* [ref] */
107 struct wbint_Sid2Uid {
109 const char *dom_name;/* [unique,charset(UTF8)] */
110 struct dom_sid *sid;/* [ref] */
114 uint64_t *uid;/* [ref] */
121 struct wbint_Sid2Gid {
123 const char *dom_name;/* [unique,charset(UTF8)] */
124 struct dom_sid *sid;/* [ref] */
128 uint64_t *gid;/* [ref] */
135 struct wbint_Uid2Sid {
137 const char *dom_name;/* [unique,charset(UTF8)] */
142 struct dom_sid *sid;/* [ref] */
149 struct wbint_Gid2Sid {
151 const char *dom_name;/* [unique,charset(UTF8)] */
156 struct dom_sid *sid;/* [ref] */
163 struct wbint_AllocateUid {
165 uint64_t *uid;/* [ref] */
172 struct wbint_AllocateGid {
174 uint64_t *gid;/* [ref] */
181 struct wbint_QueryUser {
183 struct dom_sid *sid;/* [ref] */
187 struct wbint_userinfo *info;/* [ref] */
194 struct wbint_LookupUserAliases {
196 struct wbint_SidArray *sids;/* [ref] */
200 struct wbint_RidArray *rids;/* [ref] */
207 struct wbint_LookupUserGroups {
209 struct dom_sid *sid;/* [ref] */
213 struct wbint_SidArray *sids;/* [ref] */
220 struct wbint_QuerySequenceNumber {
222 uint32_t *sequence;/* [ref] */
229 struct wbint_LookupGroupMembers {
231 struct dom_sid *sid;/* [ref] */
232 enum lsa_SidType type;
236 struct wbint_Principals *members;/* [ref] */
243 struct wbint_QueryUserList {
245 struct wbint_userinfos *users;/* [ref] */
252 struct wbint_QueryGroupList {
254 struct wbint_Principals *groups;/* [ref] */
261 struct wbint_DsGetDcName {
263 const char *domain_name;/* [ref,charset(UTF8)] */
264 struct GUID *domain_guid;/* [unique] */
265 const char *site_name;/* [unique,charset(UTF8)] */
270 struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
277 struct wbint_LookupRids {
279 struct wbint_RidArray *rids;/* [ref] */
283 struct wbint_Principals *names;/* [ref] */
290 struct wbint_CheckMachineAccount {
298 struct wbint_ChangeMachineAccount {
306 struct wbint_SetMapping {
308 struct dom_sid *sid;/* [ref] */
309 enum wbint_IdType type;
320 struct wbint_RemoveMapping {
322 struct dom_sid *sid;/* [ref] */
323 enum wbint_IdType type;
334 struct wbint_SetHWM {
336 enum wbint_IdType type;
346 #endif /* _HEADER_wbint */