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)] */
54 uint32_t *out_data
;/* [ref] */
60 struct wbint_LookupSid
{
62 struct dom_sid
*sid
;/* [ref] */
66 enum lsa_SidType
*type
;/* [ref] */
67 const char **domain
;/* [ref,charset(UTF8)] */
68 const char **name
;/* [ref,charset(UTF8)] */
75 struct wbint_LookupName
{
77 const char *domain
;/* [ref,charset(UTF8)] */
78 const char *name
;/* [ref,charset(UTF8)] */
83 enum lsa_SidType
*type
;/* [ref] */
84 struct dom_sid
*sid
;/* [ref] */
91 struct wbint_Sid2Uid
{
93 const char *dom_name
;/* [unique,charset(UTF8)] */
94 struct dom_sid
*sid
;/* [ref] */
98 uint64_t *uid
;/* [ref] */
105 struct wbint_Sid2Gid
{
107 const char *dom_name
;/* [unique,charset(UTF8)] */
108 struct dom_sid
*sid
;/* [ref] */
112 uint64_t *gid
;/* [ref] */
119 struct wbint_Uid2Sid
{
121 const char *dom_name
;/* [unique,charset(UTF8)] */
126 struct dom_sid
*sid
;/* [ref] */
133 struct wbint_Gid2Sid
{
135 const char *dom_name
;/* [unique,charset(UTF8)] */
140 struct dom_sid
*sid
;/* [ref] */
147 struct wbint_AllocateUid
{
149 uint64_t *uid
;/* [ref] */
156 struct wbint_AllocateGid
{
158 uint64_t *gid
;/* [ref] */
165 struct wbint_QueryUser
{
167 struct dom_sid
*sid
;/* [ref] */
171 struct wbint_userinfo
*info
;/* [ref] */
178 struct wbint_LookupUserAliases
{
180 struct wbint_SidArray
*sids
;/* [ref] */
184 struct wbint_RidArray
*rids
;/* [ref] */
191 struct wbint_LookupUserGroups
{
193 struct dom_sid
*sid
;/* [ref] */
197 struct wbint_SidArray
*sids
;/* [ref] */
204 struct wbint_QuerySequenceNumber
{
206 uint32_t *sequence
;/* [ref] */
213 struct wbint_LookupGroupMembers
{
215 struct dom_sid
*sid
;/* [ref] */
216 enum lsa_SidType type
;
220 struct wbint_Principals
*members
;/* [ref] */
227 struct wbint_QueryUserList
{
229 struct wbint_userinfos
*users
;/* [ref] */
236 struct wbint_QueryGroupList
{
238 struct wbint_Principals
*groups
;/* [ref] */
245 struct wbint_DsGetDcName
{
247 const char *domain_name
;/* [ref,charset(UTF8)] */
248 struct GUID
*domain_guid
;/* [unique] */
249 const char *site_name
;/* [unique,charset(UTF8)] */
254 struct netr_DsRGetDCNameInfo
**dc_info
;/* [ref] */
261 struct wbint_LookupRids
{
263 struct wbint_RidArray
*rids
;/* [ref] */
267 struct wbint_Principals
*names
;/* [ref] */
273 #endif /* _HEADER_wbint */