2 import
"lsa.idl", "netlogon.idl", "misc.idl", "security.idl", "idmap.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_LookupSids
(
27 [in] lsa_SidArray
*sids
,
28 [out,ref] lsa_RefDomainList
*domains
,
29 [out,ref] lsa_TransNameArray
*names
32 NTSTATUS wbint_LookupName
(
33 [in,string,charset
(UTF8
)] char *domain
,
34 [in,string,charset
(UTF8
)] char *name
,
36 [out] lsa_SidType
*type
,
49 [size_is(num_ids
)] wbint_TransID ids
[];
52 NTSTATUS wbint_Sids2UnixIDs
(
53 [in] lsa_RefDomainList
*domains
,
54 [in,out] wbint_TransIDArray
*ids
57 NTSTATUS wbint_Uid2Sid
(
58 [in,unique,string,charset
(UTF8
)] char *dom_name
,
63 NTSTATUS wbint_Gid2Sid
(
64 [in,unique,string,charset
(UTF8
)] char *dom_name
,
69 NTSTATUS wbint_AllocateUid
(
73 NTSTATUS wbint_AllocateGid
(
77 typedef [public] struct {
78 [string,charset
(UTF8
)] char *acct_name
;
79 [string,charset
(UTF8
)] char *full_name
;
80 [string,charset
(UTF8
)] char *homedir
;
81 [string,charset
(UTF8
)] char *shell
;
87 NTSTATUS wbint_QueryUser
(
89 [out] wbint_userinfo
*info
92 typedef [public] struct {
94 [size_is(num_sids
)] dom_sid sids
[];
97 typedef [public] struct {
99 [size_is(num_rids
)] uint32 rids
[];
102 NTSTATUS wbint_LookupUserAliases
(
103 [in] wbint_SidArray
*sids
,
104 [out] wbint_RidArray
*rids
107 NTSTATUS wbint_LookupUserGroups
(
109 [out] wbint_SidArray
*sids
112 NTSTATUS wbint_QuerySequenceNumber
(
113 [out] uint32
*sequence
116 typedef [public] struct {
119 [string,charset
(UTF8
)] char *name
;
122 typedef [public] struct {
124 [size_is(num_principals
)] wbint_Principal principals
[];
127 NTSTATUS wbint_LookupGroupMembers
(
129 [in] lsa_SidType type
,
130 [out] wbint_Principals
*members
133 typedef [public] struct {
134 uint32 num_userinfos
;
135 [size_is(num_userinfos
)] wbint_userinfo userinfos
[];
138 NTSTATUS wbint_QueryUserList
(
139 [out] wbint_userinfos
*users
142 NTSTATUS wbint_QueryGroupList
(
143 [out] wbint_Principals
*groups
146 NTSTATUS wbint_DsGetDcName
(
147 [in,string,charset
(UTF8
)] char *domain_name
,
148 [in,unique] GUID
*domain_guid
,
149 [in,string,unique,charset
(UTF8
)] char *site_name
,
151 [out] netr_DsRGetDCNameInfo
**dc_info
154 NTSTATUS wbint_LookupRids
(
155 [in] dom_sid
*domain_sid
,
156 [in] wbint_RidArray
*rids
,
157 [out,string,charset
(UTF8
)] char **domain_name
,
158 [out] wbint_Principals
*names
161 NTSTATUS wbint_CheckMachineAccount
(
164 NTSTATUS wbint_ChangeMachineAccount
(
167 NTSTATUS wbint_PingDc
(
168 [out,string,charset
(UTF8
)] char **dcname