1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/lsa.h"
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)] */
17 struct dom_sid user_sid;
18 struct dom_sid group_sid;
21 struct wbint_SidArray {
23 struct dom_sid *sids;/* [size_is(num_sids)] */
26 struct wbint_RidArray {
28 uint32_t *rids;/* [size_is(num_rids)] */
31 struct wbint_Principal {
33 enum lsa_SidType type;
34 const char *name;/* [unique,charset(UTF8)] */
37 struct wbint_Principals {
38 int32_t num_principals;
39 struct wbint_Principal *principals;/* [size_is(num_principals)] */
42 struct wbint_userinfos {
43 uint32_t num_userinfos;
44 struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
48 #ifndef USE_UINT_ENUMS
50 WBINT_ID_TYPE_NOT_SPECIFIED,
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 )
69 uint32_t *out_data;/* [ref] */
75 struct wbint_LookupSid {
77 struct dom_sid *sid;/* [ref] */
81 enum lsa_SidType *type;/* [ref] */
82 const char **domain;/* [ref,charset(UTF8)] */
83 const char **name;/* [ref,charset(UTF8)] */
90 struct wbint_LookupName {
92 const char *domain;/* [ref,charset(UTF8)] */
93 const char *name;/* [ref,charset(UTF8)] */
98 enum lsa_SidType *type;/* [ref] */
99 struct dom_sid *sid;/* [ref] */
106 struct wbint_Sid2Uid {
108 const char *dom_name;/* [unique,charset(UTF8)] */
109 struct dom_sid *sid;/* [ref] */
113 uint64_t *uid;/* [ref] */
120 struct wbint_Sid2Gid {
122 const char *dom_name;/* [unique,charset(UTF8)] */
123 struct dom_sid *sid;/* [ref] */
127 uint64_t *gid;/* [ref] */
134 struct wbint_Uid2Sid {
136 const char *dom_name;/* [unique,charset(UTF8)] */
141 struct dom_sid *sid;/* [ref] */
148 struct wbint_Gid2Sid {
150 const char *dom_name;/* [unique,charset(UTF8)] */
155 struct dom_sid *sid;/* [ref] */
162 struct wbint_AllocateUid {
164 uint64_t *uid;/* [ref] */
171 struct wbint_AllocateGid {
173 uint64_t *gid;/* [ref] */
180 struct wbint_QueryUser {
182 struct dom_sid *sid;/* [ref] */
186 struct wbint_userinfo *info;/* [ref] */
193 struct wbint_LookupUserAliases {
195 struct wbint_SidArray *sids;/* [ref] */
199 struct wbint_RidArray *rids;/* [ref] */
206 struct wbint_LookupUserGroups {
208 struct dom_sid *sid;/* [ref] */
212 struct wbint_SidArray *sids;/* [ref] */
219 struct wbint_QuerySequenceNumber {
221 uint32_t *sequence;/* [ref] */
228 struct wbint_LookupGroupMembers {
230 struct dom_sid *sid;/* [ref] */
231 enum lsa_SidType type;
235 struct wbint_Principals *members;/* [ref] */
242 struct wbint_QueryUserList {
244 struct wbint_userinfos *users;/* [ref] */
251 struct wbint_QueryGroupList {
253 struct wbint_Principals *groups;/* [ref] */
260 struct wbint_DsGetDcName {
262 const char *domain_name;/* [ref,charset(UTF8)] */
263 struct GUID *domain_guid;/* [unique] */
264 const char *site_name;/* [unique,charset(UTF8)] */
269 struct netr_DsRGetDCNameInfo **dc_info;/* [ref] */
276 struct wbint_LookupRids {
278 struct wbint_RidArray *rids;/* [ref] */
282 struct wbint_Principals *names;/* [ref] */
289 struct wbint_CheckMachineAccount {
297 struct wbint_ChangeMachineAccount {
305 struct wbint_SetMapping {
307 struct dom_sid *sid;/* [ref] */
308 enum wbint_IdType type;
319 struct wbint_RemoveMapping {
321 struct dom_sid *sid;/* [ref] */
322 enum wbint_IdType type;
333 struct wbint_SetHWM {
335 enum wbint_IdType type;
345 #endif /* _HEADER_wbint */