2 import "lsa.idl", "netlogon.idl", "misc.idl", "security.idl";
5 uuid("bf09192c-ed60-4928-9dff-d0d7bcb03ed8"),
7 pointer_default(unique),
9 helpstring("winbind parent-child protocol"),
16 [out] uint32 *out_data
19 NTSTATUS wbint_LookupSid(
21 [out] lsa_SidType *type,
22 [out,string,charset(UTF8)] char **domain,
23 [out,string,charset(UTF8)] char **name
26 NTSTATUS wbint_LookupName(
27 [in,string,charset(UTF8)] char *domain,
28 [in,string,charset(UTF8)] char *name,
30 [out] lsa_SidType *type,
34 NTSTATUS wbint_Sid2Uid(
35 [in,unique,string,charset(UTF8)] char *dom_name,
40 NTSTATUS wbint_Sid2Gid(
41 [in,unique,string,charset(UTF8)] char *dom_name,
46 NTSTATUS wbint_Uid2Sid(
47 [in,unique,string,charset(UTF8)] char *dom_name,
52 NTSTATUS wbint_Gid2Sid(
53 [in,unique,string,charset(UTF8)] char *dom_name,
58 NTSTATUS wbint_AllocateUid(
62 NTSTATUS wbint_AllocateGid(
66 typedef [public] struct {
67 [string,charset(UTF8)] char *acct_name;
68 [string,charset(UTF8)] char *full_name;
69 [string,charset(UTF8)] char *homedir;
70 [string,charset(UTF8)] char *shell;
76 NTSTATUS wbint_QueryUser(
78 [out] wbint_userinfo *info
81 typedef [public] struct {
83 [size_is(num_sids)] dom_sid sids[];
86 typedef [public] struct {
88 [size_is(num_rids)] uint32 rids[];
91 NTSTATUS wbint_LookupUserAliases(
92 [in] wbint_SidArray *sids,
93 [out] wbint_RidArray *rids
96 NTSTATUS wbint_LookupUserGroups(
98 [out] wbint_SidArray *sids
101 NTSTATUS wbint_QuerySequenceNumber(
102 [out] uint32 *sequence
105 typedef [public] struct {
108 [string,charset(UTF8)] char *name;
111 typedef [public] struct {
113 [size_is(num_principals)] wbint_Principal principals[];
116 NTSTATUS wbint_LookupGroupMembers(
118 [in] lsa_SidType type,
119 [out] wbint_Principals *members
122 typedef [public] struct {
123 uint32 num_userinfos;
124 [size_is(num_userinfos)] wbint_userinfo userinfos[];
127 NTSTATUS wbint_QueryUserList(
128 [out] wbint_userinfos *users
131 NTSTATUS wbint_QueryGroupList(
132 [out] wbint_Principals *groups
135 NTSTATUS wbint_DsGetDcName(
136 [in,string,charset(UTF8)] char *domain_name,
137 [in,unique] GUID *domain_guid,
138 [in,string,unique,charset(UTF8)] char *site_name,
140 [out] netr_DsRGetDCNameInfo **dc_info
143 NTSTATUS wbint_LookupRids(
144 [in] wbint_RidArray *rids,
145 [out,string,charset(UTF8)] char **domain_name,
146 [out] wbint_Principals *names
149 NTSTATUS wbint_CheckMachineAccount(
152 NTSTATUS wbint_ChangeMachineAccount(
155 NTSTATUS wbint_PingDc(