summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/lsa.idl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/idl/lsa.idl')
-rw-r--r--source4/librpc/idl/lsa.idl21
1 files changed, 13 insertions, 8 deletions
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
+ );
/******************/
@@ -289,11 +299,6 @@
} 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;