summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-09 11:01:39 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-09 11:01:39 +0000
commit3fa8da4d26d9a880a2a4911a32f222fbc5d2eeaa (patch)
tree54e52cd01f56691ba2a0d102e88ffd9bbfa3b96d /source4/librpc/idl
parent3c669340f529c559bff88168c3f9ddac9790d6c3 (diff)
downloadsamba-3fa8da4d26d9a880a2a4911a32f222fbc5d2eeaa.tar.gz
samba-3fa8da4d26d9a880a2a4911a32f222fbc5d2eeaa.tar.bz2
samba-3fa8da4d26d9a880a2a4911a32f222fbc5d2eeaa.zip
- fixed lsa_EnumTrustDom
- added lsa_OpenAccount - handle STATUS_SOME_UNMAPPED (This used to be commit e5d93cf996b3e9647ef0ca45f6aab7601369936b)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/lsa.idl36
1 files changed, 28 insertions, 8 deletions
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 */