From a671885f49638aa18fdeed9fb3f040ffcc0b7a82 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 23 Mar 2011 18:18:13 +0100 Subject: s3: Add wbint_Sids2UnixIDs idl & implementation Signed-off-by: Jeremy Allison --- source3/librpc/idl/wbint.idl | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'source3/librpc') diff --git a/source3/librpc/idl/wbint.idl b/source3/librpc/idl/wbint.idl index ec37b381ff..5f7e9bf808 100644 --- a/source3/librpc/idl/wbint.idl +++ b/source3/librpc/idl/wbint.idl @@ -1,5 +1,5 @@ #include "idl_types.h" -import "lsa.idl", "netlogon.idl", "misc.idl", "security.idl"; +import "lsa.idl", "netlogon.idl", "misc.idl", "security.idl", "idmap.idl"; [ uuid("bf09192c-ed60-4928-9dff-d0d7bcb03ed8"), @@ -49,6 +49,23 @@ interface wbint [out] hyper *gid ); + typedef struct { + id_type type; + uint32 domain_index; + uint32 rid; + hyper unix_id; + } wbint_TransID; + + typedef struct { + uint32 num_ids; + [size_is(num_ids)] wbint_TransID ids[]; + } wbint_TransIDArray; + + NTSTATUS wbint_Sids2UnixIDs( + [in] lsa_RefDomainList *domains, + [in,out] wbint_TransIDArray *ids + ); + NTSTATUS wbint_Uid2Sid( [in,unique,string,charset(UTF8)] char *dom_name, [in] hyper uid, -- cgit