diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-09 00:58:40 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-09 00:58:40 +0000 |
commit | cff32d6b0ae3b8f17973f544d8be891704437915 (patch) | |
tree | e1bf089b426305deb478750336cef08906c9bf93 /source4/librpc/idl/lsa.idl | |
parent | 2430e941d748beebd1297c83d176982e7ff89be7 (diff) | |
download | samba-cff32d6b0ae3b8f17973f544d8be891704437915.tar.gz samba-cff32d6b0ae3b8f17973f544d8be891704437915.tar.bz2 samba-cff32d6b0ae3b8f17973f544d8be891704437915.zip |
added idl, generated code and test code for lsa_LookupSids
(This used to be commit afa1ff5f08fceba3d34b4e0965fe7e0c0143ede9)
Diffstat (limited to 'source4/librpc/idl/lsa.idl')
-rw-r--r-- | source4/librpc/idl/lsa.idl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index e043582f1d..c807f19d49 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -54,4 +54,40 @@ [out,ref] lsa_SidArray *sids ); + typedef struct { + uint16 name_len; + uint16 name_size; + unistr *name; + } lsa_Name; + + typedef struct { + uint16 sid_type; + lsa_Name name; + uint32 sid_index; + } lsa_TranslatedName; + + typedef struct { + uint32 count; + [size_is(count)] lsa_TranslatedName *names; + } lsa_TransNameArray; + + typedef struct { + lsa_Name name; + dom_sid2 *sid; + } lsa_TrustInformation; + + typedef struct { + uint32 count; + [size_is(count)] lsa_TrustInformation *domains; + uint32 max_count; + } lsa_RefDomainList; + + NTSTATUS lsa_LookupSids ( + [in,ref] policy_handle *handle, + [in,ref] lsa_SidArray *sids, + [out] lsa_RefDomainList *domains, + [in,out,ref] lsa_TransNameArray *names, + [in] uint16 level, + [in,out,ref] uint32 *count + ); } |