From 3c669340f529c559bff88168c3f9ddac9790d6c3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 9 Nov 2003 10:01:24 +0000 Subject: added lsa_EnumTrustDom (This used to be commit ef60a70912c70b11438b53ed033efe31f662143d) --- source4/librpc/ndr/ndr_lsa.h | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'source4/librpc/ndr/ndr_lsa.h') diff --git a/source4/librpc/ndr/ndr_lsa.h b/source4/librpc/ndr/ndr_lsa.h index 1436c8cfab..784ff1b2a4 100644 --- a/source4/librpc/ndr/ndr_lsa.h +++ b/source4/librpc/ndr/ndr_lsa.h @@ -186,11 +186,27 @@ struct lsa_CreateTrustDom { }; +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_EnumTrustDom { struct { + struct policy_handle *handle; + uint32 *resume_handle; + uint32 num_entries; } in; struct { + uint32 *resume_handle; + struct lsa_RefDomainList *domains; NTSTATUS result; } out; @@ -207,17 +223,6 @@ struct lsa_TransSidArray { struct lsa_TranslatedSid *sids; }; -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_LookupNames { struct { struct policy_handle *handle; -- cgit