From e5b5c1be45a68afaea867694301256ad0cc69e99 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 31 Mar 2004 12:52:21 +0000 Subject: added lsaCreateAccount() and a test in the RPC-LSA test suite also tested lsa_Delete() to delete the newly created account (This used to be commit c4d5d0e9eba6b564e2ce6885d66d644b6612d721) --- source4/librpc/idl/lsa.idl | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index 5e9c1a049b..22701ce019 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -176,6 +176,21 @@ dom_sid2 *sid; } lsa_DnsDomainInfo; + typedef enum { + LSA_POLICY_INFO_AUDIT_LOG=1, + LSA_POLICY_INFO_AUDIT_EVENTS=2, + LSA_POLICY_INFO_DOMAIN=3, + LSA_POLICY_INFO_PD=4, + LSA_POLICY_INFO_ACCOUNT_DOMAIN=5, + LSA_POLICY_INFO_ROLE=6, + LSA_POLICY_INFO_REPLICA=7, + LSA_POLICY_INFO_QUOTA=8, + LSA_POLICY_INFO_DB=9, + LSA_POLICY_INFO_AUDIT_FULL_SET=10, + LSA_POLICY_INFO_AUDIT_FULL_QUERY=11, + LSA_POLICY_INFO_DNS=12 + } lsaPolicyInfo; + typedef union { [case(1)] lsa_AuditLogInfo audit_log; [case(2)] lsa_AuditEventsInfo audit_events; @@ -207,8 +222,12 @@ /******************/ /* Function: 0x0a */ - NTSTATUS lsa_CreateAccount (); - + NTSTATUS lsa_CreateAccount ( + [in,ref] policy_handle *handle, + [in,ref] dom_sid2 *sid, + [in] uint32 access, + [out,ref] policy_handle *acct_handle + ); /******************/ /* Function: 0x0b */ -- cgit