summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-03-31 12:52:21 +0000
committerAndrew Tridgell <tridge@samba.org>2004-03-31 12:52:21 +0000
commite5b5c1be45a68afaea867694301256ad0cc69e99 (patch)
tree9cbfea0bac6031edd2c1345a710bee1f6b25c19b /source4/librpc/idl
parent4258c7f27ff628b93e296fd0fc0f7a5a5bf2efeb (diff)
downloadsamba-e5b5c1be45a68afaea867694301256ad0cc69e99.tar.gz
samba-e5b5c1be45a68afaea867694301256ad0cc69e99.tar.bz2
samba-e5b5c1be45a68afaea867694301256ad0cc69e99.zip
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)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/lsa.idl23
1 files changed, 21 insertions, 2 deletions
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 */