From 9bc3b91cca4a93ec70406d1e92680033ad531aae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 3 Apr 2004 16:44:39 +0000 Subject: added idl and test suite for lsa_CreateTrustedDomain() (This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f) --- source4/librpc/idl/lsa.idl | 21 +++++++++++++-------- 1 file changed, 13 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 22701ce019..3e9ca1be3f 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -51,7 +51,6 @@ [out,ref] lsa_PrivArray *privs ); - /******************/ /* Function: 0x03 */ @@ -225,7 +224,7 @@ NTSTATUS lsa_CreateAccount ( [in,ref] policy_handle *handle, [in,ref] dom_sid2 *sid, - [in] uint32 access, + [in] uint32 desired_access, [out,ref] policy_handle *acct_handle ); @@ -250,7 +249,18 @@ /*************************************************/ /* Function: 0x0c */ - NTSTATUS lsa_CreateTrustDom (); + + typedef struct { + lsa_Name name; + dom_sid2 *sid; + } lsa_TrustInformation; + + NTSTATUS lsa_CreateTrustedDomain( + [in,ref] policy_handle *handle, + [in,ref] lsa_TrustInformation *info, + [in] uint32 desired_access, + [out,ref] policy_handle *dom_handle + ); /******************/ @@ -288,11 +298,6 @@ [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; -- cgit