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_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
,
40 NTSTATUS wbint_Sid2Uid
(
41 [in,unique,string,charset
(UTF8
)] char *dom_name
,
46 NTSTATUS wbint_Sid2Gid
(
47 [in,unique,string,charset
(UTF8
)] char *dom_name
,
52 NTSTATUS wbint_Uid2Sid
(
53 [in,unique,string,charset
(UTF8
)] char *dom_name
,
58 NTSTATUS wbint_Gid2Sid
(
59 [in,unique,string,charset
(UTF8
)] char *dom_name
,
64 NTSTATUS wbint_AllocateUid
(
68 NTSTATUS wbint_AllocateGid
(
72 typedef [public] struct {
73 [string,charset
(UTF8
)] char *acct_name
;
74 [string,charset
(UTF8
)] char *full_name
;
75 [string,charset
(UTF8
)] char *homedir
;
76 [string,charset
(UTF8
)] char *shell
;
82 NTSTATUS wbint_QueryUser
(
84 [out] wbint_userinfo
*info
87 typedef [public] struct {
89 [size_is(num_sids
)] dom_sid sids
[];
92 typedef [public] struct {
94 [size_is(num_rids
)] uint32 rids
[];
97 NTSTATUS wbint_LookupUserAliases
(
98 [in] wbint_SidArray
*sids
,
99 [out] wbint_RidArray
*rids
102 NTSTATUS wbint_LookupUserGroups
(
104 [out] wbint_SidArray
*sids
107 NTSTATUS wbint_QuerySequenceNumber
(
108 [out] uint32
*sequence
111 typedef [public] struct {
114 [string,charset
(UTF8
)] char *name
;
117 typedef [public] struct {
119 [size_is(num_principals
)] wbint_Principal principals
[];
122 NTSTATUS wbint_LookupGroupMembers
(
124 [in] lsa_SidType type
,
125 [out] wbint_Principals
*members
128 typedef [public] struct {
129 uint32 num_userinfos
;
130 [size_is(num_userinfos
)] wbint_userinfo userinfos
[];
133 NTSTATUS wbint_QueryUserList
(
134 [out] wbint_userinfos
*users
137 NTSTATUS wbint_QueryGroupList
(
138 [out] wbint_Principals
*groups
141 NTSTATUS wbint_DsGetDcName
(
142 [in,string,charset
(UTF8
)] char *domain_name
,
143 [in,unique] GUID
*domain_guid
,
144 [in,string,unique,charset
(UTF8
)] char *site_name
,
146 [out] netr_DsRGetDCNameInfo
**dc_info
149 NTSTATUS wbint_LookupRids
(
150 [in] wbint_RidArray
*rids
,
151 [out,string,charset
(UTF8
)] char **domain_name
,
152 [out] wbint_Principals
*names
155 NTSTATUS wbint_CheckMachineAccount
(
158 NTSTATUS wbint_ChangeMachineAccount
(
161 NTSTATUS wbint_PingDc
(