2 import "lsa.idl", "netlogon.idl";
5 uuid("bf09192c-ed60-4928-9dff-d0d7bcb03ed8"),
7 pointer_default(unique),
9 helpstring("winbind parent-child protocol")
15 [out] uint32 *out_data
18 NTSTATUS wbint_LookupSid(
20 [out] lsa_SidType *type,
21 [out,string,charset(UTF8)] char **domain,
22 [out,string,charset(UTF8)] char **name
25 NTSTATUS wbint_LookupName(
26 [in,string,charset(UTF8)] char *domain,
27 [in,string,charset(UTF8)] char *name,
29 [out] lsa_SidType *type,
33 NTSTATUS wbint_Sid2Uid(
34 [in,unique,string,charset(UTF8)] char *dom_name,
39 NTSTATUS wbint_Sid2Gid(
40 [in,unique,string,charset(UTF8)] char *dom_name,
45 NTSTATUS wbint_Uid2Sid(
46 [in,unique,string,charset(UTF8)] char *dom_name,
51 NTSTATUS wbint_Gid2Sid(
52 [in,unique,string,charset(UTF8)] char *dom_name,
57 NTSTATUS wbint_AllocateUid(
61 NTSTATUS wbint_AllocateGid(
65 typedef [public] struct {
66 [string,charset(UTF8)] char *acct_name;
67 [string,charset(UTF8)] char *full_name;
68 [string,charset(UTF8)] char *homedir;
69 [string,charset(UTF8)] char *shell;
75 NTSTATUS wbint_QueryUser(
77 [out] wbint_userinfo *info
80 typedef [public] struct {
82 [size_is(num_sids)] dom_sid sids[];
85 typedef [public] struct {
87 [size_is(num_rids)] uint32 rids[];
90 NTSTATUS wbint_LookupUserAliases(
91 [in] wbint_SidArray *sids,
92 [out] wbint_RidArray *rids
95 NTSTATUS wbint_LookupUserGroups(
97 [out] wbint_SidArray *sids
100 NTSTATUS wbint_QuerySequenceNumber(
101 [out] uint32 *sequence
104 typedef [public] struct {
107 [string,charset(UTF8)] char *name;
110 typedef [public] struct {
112 [size_is(num_principals)] wbint_Principal principals[];
115 NTSTATUS wbint_LookupGroupMembers(
117 [in] lsa_SidType type,
118 [out] wbint_Principals *members
121 typedef [public] struct {
122 uint32 num_userinfos;
123 [size_is(num_userinfos)] wbint_userinfo userinfos[];
126 NTSTATUS wbint_QueryUserList(
127 [out] wbint_userinfos *users
130 NTSTATUS wbint_QueryGroupList(
131 [out] wbint_Principals *groups
134 NTSTATUS wbint_DsGetDcName(
135 [in,string,charset(UTF8)] char *domain_name,
136 [in,unique] GUID *domain_guid,
137 [in,string,unique,charset(UTF8)] char *site_name,
139 [out] netr_DsRGetDCNameInfo **dc_info
142 NTSTATUS wbint_LookupRids(
143 [in] wbint_RidArray *rids,
144 [out] wbint_Principals *names
147 NTSTATUS wbint_CheckMachineAccount(
150 NTSTATUS wbint_ChangeMachineAccount(
153 typedef [public] enum {
154 WBINT_ID_TYPE_NOT_SPECIFIED,
159 NTSTATUS wbint_SetMapping(
161 [in] wbint_IdType type,
165 NTSTATUS wbint_RemoveMapping(
167 [in] wbint_IdType type,
171 NTSTATUS wbint_SetHWM(
172 [in] wbint_IdType type,