mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
#include "idl_types.h"
|
|
import "lsa.idl";
|
|
|
|
[
|
|
uuid("bf09192c-ed60-4928-9dff-d0d7bcb03ed8"),
|
|
endpoint("ncalrpc:"),
|
|
pointer_default(unique),
|
|
version(1.0),
|
|
helpstring("winbind parent-child protocol")
|
|
]
|
|
interface wbint
|
|
{
|
|
void wbint_Ping(
|
|
[in] uint32 in_data,
|
|
[out] uint32 *out_data
|
|
);
|
|
|
|
NTSTATUS wbint_LookupSid(
|
|
[in] dom_sid *sid,
|
|
[out] lsa_SidType *type,
|
|
[out,string,charset(UTF8)] char **domain,
|
|
[out,string,charset(UTF8)] char **name
|
|
);
|
|
|
|
NTSTATUS wbint_LookupName(
|
|
[in,string,charset(UTF8)] char *domain,
|
|
[in,string,charset(UTF8)] char *name,
|
|
[in] uint32 flags,
|
|
[out] lsa_SidType *type,
|
|
[out] dom_sid *sid
|
|
);
|
|
|
|
NTSTATUS wbint_Sid2Uid(
|
|
[in,unique,string,charset(UTF8)] char *dom_name,
|
|
[in] dom_sid *sid,
|
|
[out] hyper *uid
|
|
);
|
|
|
|
NTSTATUS wbint_Sid2Gid(
|
|
[in,unique,string,charset(UTF8)] char *dom_name,
|
|
[in] dom_sid *sid,
|
|
[out] hyper *gid
|
|
);
|
|
|
|
NTSTATUS wbint_Uid2Sid(
|
|
[in,unique,string,charset(UTF8)] char *dom_name,
|
|
[in] hyper uid,
|
|
[out] dom_sid *sid
|
|
);
|
|
|
|
NTSTATUS wbint_Gid2Sid(
|
|
[in,unique,string,charset(UTF8)] char *dom_name,
|
|
[in] hyper gid,
|
|
[out] dom_sid *sid
|
|
);
|
|
} |