diff options
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; + +}; + |