diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-31 07:26:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:50 -0500 |
commit | 835d231cee5761e159bf7f4bb65eeddba04290f3 (patch) | |
tree | 45124eacf2b099c8f2f2322f6c6c7d1b215304ab /source4/librpc | |
parent | 6b59b377447ccc750df531422002c5bf09542401 (diff) | |
download | samba-835d231cee5761e159bf7f4bb65eeddba04290f3.tar.gz samba-835d231cee5761e159bf7f4bb65eeddba04290f3.tar.bz2 samba-835d231cee5761e159bf7f4bb65eeddba04290f3.zip |
r4437: added IDL and test code for lsa_LookupSids3() and lsa_LookupNames3().
For some reason I am getting ACCESS_DENIED from w2k3 on
lsa_LookupSids3(). I will investigate.
(This used to be commit c759fa0000e37c3e93a7529a7701998af6727612)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/lsa.idl | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index e4ef17b712..66a7593566 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -792,8 +792,31 @@ /* Function 0x43 */ NTSTATUS lsa_CREDRPROFILELOADED(); + /**********************/ /* Function 0x44 */ - NTSTATUS lsa_LSARLOOKUPNAMES3(); + typedef struct { + uint16 sid_type; + dom_sid *sid; + uint32 sid_index; + uint32 unknown; + } lsa_TranslatedSid3; + + typedef struct { + [range(0,1000)] uint32 count; + [size_is(count)] lsa_TranslatedSid3 *sids; + } lsa_TransSidArray3; + + NTSTATUS lsa_LookupNames3 ( + [in,ref] policy_handle *handle, + [in,range(0,1000)] uint32 num_names, + [in,ref,size_is(num_names)] lsa_String *names, + [out] lsa_RefDomainList *domains, + [in,out,ref] lsa_TransSidArray3 *sids, + [in] uint16 level, + [in,out,ref] uint32 *count, + [in] uint32 unknown1, + [in] uint32 unknown2 + ); /* Function 0x45 */ NTSTATUS lsa_CREDRGETSESSIONTYPES(); @@ -816,8 +839,18 @@ /* Function 0x4b */ NTSTATUS lsa_CREDRRENAME(); + /*****************/ /* Function 0x4c */ - NTSTATUS lsa_LSARLOOKUPSIDS3(); + + NTSTATUS lsa_LookupSids3( + [in,ref] lsa_SidArray *sids, + [out] lsa_RefDomainList *domains, + [in,out,ref] lsa_TransNameArray2 *names, + [in] uint16 level, + [in,out,ref] uint32 *count, + [in] uint32 unknown1, + [in] uint32 unknown2 + ); /* Function 0x4d */ NTSTATUS lsa_LSARLOOKUPNAMES4(); |