summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-03 16:44:39 +0000
committerAndrew Tridgell <tridge@samba.org>2004-04-03 16:44:39 +0000
commit9bc3b91cca4a93ec70406d1e92680033ad531aae (patch)
tree7340efd2b1ef3211e3f03c6b35b338032706564d /source4/librpc/idl
parentee44733f94864fb0a1ae15d48e3335c0705a82ae (diff)
downloadsamba-9bc3b91cca4a93ec70406d1e92680033ad531aae.tar.gz
samba-9bc3b91cca4a93ec70406d1e92680033ad531aae.tar.bz2
samba-9bc3b91cca4a93ec70406d1e92680033ad531aae.zip
added idl and test suite for lsa_CreateTrustedDomain()
(This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f)
Diffstat (limited to 'source4/librpc/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;