s3:winbind: Add async wb_uid2sid
[amitay/samba.git] / source3 / librpc / idl / wbint.idl
1 #include "idl_types.h"
2 import "lsa.idl";
3
4 [
5     uuid("bf09192c-ed60-4928-9dff-d0d7bcb03ed8"),
6     endpoint("ncalrpc:"),
7     pointer_default(unique),
8     version(1.0),
9     helpstring("winbind parent-child protocol")
10 ]
11 interface wbint
12 {
13     void wbint_Ping(
14         [in] uint32 in_data,
15         [out] uint32 *out_data
16         );
17
18     NTSTATUS wbint_LookupSid(
19         [in] dom_sid *sid,
20         [out] lsa_SidType *type,
21         [out,string,charset(UTF8)] char **domain,
22         [out,string,charset(UTF8)] char **name
23         );
24
25     NTSTATUS wbint_LookupName(
26         [in,string,charset(UTF8)] char *domain,
27         [in,string,charset(UTF8)] char *name,
28         [in] uint32 flags,
29         [out] lsa_SidType *type,
30         [out] dom_sid *sid
31         );
32
33     NTSTATUS wbint_Sid2Uid(
34         [in,unique,string,charset(UTF8)] char *dom_name,
35         [in] dom_sid *sid,
36         [out] hyper *uid
37         );
38
39     NTSTATUS wbint_Sid2Gid(
40         [in,unique,string,charset(UTF8)] char *dom_name,
41         [in] dom_sid *sid,
42         [out] hyper *gid
43         );
44
45     NTSTATUS wbint_Uid2Sid(
46         [in,unique,string,charset(UTF8)] char *dom_name,
47         [in] hyper uid,
48         [out] dom_sid *sid
49         );
50 }