From 3fa8da4d26d9a880a2a4911a32f222fbc5d2eeaa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 9 Nov 2003 11:01:39 +0000 Subject: - fixed lsa_EnumTrustDom - added lsa_OpenAccount - handle STATUS_SOME_UNMAPPED (This used to be commit e5d93cf996b3e9647ef0ca45f6aab7601369936b) --- source4/librpc/idl/lsa.idl | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'source4/librpc/idl/lsa.idl') diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index 4582470980..f604534a78 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -10,7 +10,7 @@ /******************/ /* Function: 0x00 */ NTSTATUS lsa_Close ( - [in,ref] policy_handle *handle + [in,out,ref] policy_handle *handle ); @@ -136,19 +136,18 @@ typedef struct { lsa_Name name; dom_sid2 *sid; - } lsa_TrustInformation; + } lsa_DomainInformation; typedef struct { uint32 count; - [size_is(count)] lsa_TrustInformation *domains; - uint32 max_count; - } lsa_RefDomainList; + [size_is(count)] lsa_DomainInformation *domains; + } lsa_DomainList; NTSTATUS lsa_EnumTrustDom ( [in,ref] policy_handle *handle, [in,out,ref] uint32 *resume_handle, [in] uint32 num_entries, - [out] lsa_RefDomainList *domains + [out,ref] lsa_DomainList *domains ); @@ -166,6 +165,17 @@ [size_is(count)] lsa_TranslatedSid *sids; } lsa_TransSidArray; + 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_LookupNames ( [in,ref] policy_handle *handle, [in] uint32 num_names, @@ -203,8 +213,18 @@ /* Function: 0x10 */ NTSTATUS CREATESECRET (); - /* Function: 0x11 */ - NTSTATUS OPENACCOUNT (); + + + /*****************************************/ + /* Function: 0x11 */ + NTSTATUS lsa_OpenAccount ( + [in,ref] policy_handle *handle, + [in,ref] dom_sid2 *sid, + [in] uint32 desired_access, + [out,ref] policy_handle *acct_handle + ); + + /* Function: 0x12 */ NTSTATUS ENUMPRIVSACCOUNT (); /* Function: 0x13 */ -- cgit