diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-23 18:18:13 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-04-13 14:13:25 -0700 |
commit | a671885f49638aa18fdeed9fb3f040ffcc0b7a82 (patch) | |
tree | 87e4c7e369960dce27ec6d73c25967196c32e88f /source3/librpc/idl | |
parent | 80f873853fbf4da65778ee8876e2a4901380c28b (diff) | |
download | samba-a671885f49638aa18fdeed9fb3f040ffcc0b7a82.tar.gz samba-a671885f49638aa18fdeed9fb3f040ffcc0b7a82.tar.bz2 samba-a671885f49638aa18fdeed9fb3f040ffcc0b7a82.zip |
s3: Add wbint_Sids2UnixIDs idl & implementation
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r-- | source3/librpc/idl/wbint.idl | 19 |
1 files changed, 18 insertions, 1 deletions
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, |