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/ndr/ndr_lsa.h | |
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/ndr/ndr_lsa.h')
-rw-r--r-- | source4/librpc/ndr/ndr_lsa.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr_lsa.h b/source4/librpc/ndr/ndr_lsa.h index c19a884536..ef70c5d073 100644 --- a/source4/librpc/ndr/ndr_lsa.h +++ b/source4/librpc/ndr/ndr_lsa.h @@ -66,3 +66,49 @@ struct lsa_EnumSids { }; +struct lsa_Name { + uint16 name_len; + uint16 name_size; + const char *name; +}; + +struct lsa_TranslatedName { + uint16 sid_type; + struct lsa_Name name; + uint32 sid_index; +}; + +struct lsa_TransNameArray { + uint32 count; + struct lsa_TranslatedName *names; +}; + +struct lsa_TrustInformation { + struct lsa_Name name; + struct dom_sid2 *sid; +}; + +struct lsa_RefDomainList { + uint32 count; + struct lsa_TrustInformation *domains; + uint32 max_count; +}; + +struct lsa_LookupSids { + struct { + struct policy_handle *handle; + struct lsa_SidArray *sids; + struct lsa_TransNameArray *names; + uint16 level; + uint32 *count; + } in; + + struct { + struct lsa_RefDomainList *domains; + struct lsa_TransNameArray *names; + uint32 *count; + NTSTATUS result; + } out; + +}; + |