summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-16 16:01:50 +0100
committerGünther Deschner <gd@samba.org>2008-01-16 16:06:15 +0100
commit0331ff72f055b5b037c2dbab94ee6484965ad1b0 (patch)
tree73c41ad4f6fac5dde87cf3b068df82ba69158281
parentd06559c1e6ac0d9a9092e21c703397eb588aef94 (diff)
downloadsamba-0331ff72f055b5b037c2dbab94ee6484965ad1b0.tar.gz
samba-0331ff72f055b5b037c2dbab94ee6484965ad1b0.tar.bz2
samba-0331ff72f055b5b037c2dbab94ee6484965ad1b0.zip
Add lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.
Guenther (This used to be commit 92bfa25922860a6951c72d41799f4d3c1bc7a007)
-rw-r--r--source3/librpc/idl/lsa.idl22
1 files changed, 21 insertions, 1 deletions
diff --git a/source3/librpc/idl/lsa.idl b/source3/librpc/idl/lsa.idl
index 7daf648a63..54a71df74f 100644
--- a/source3/librpc/idl/lsa.idl
+++ b/source3/librpc/idl/lsa.idl
@@ -138,9 +138,29 @@ import "security.idl";
uint32 unknown;
} lsa_AuditLogInfo;
+ typedef [v1_enum] enum {
+ LSA_AUDIT_POLICY_NONE=0,
+ LSA_AUDIT_POLICY_SUCCESS=1,
+ LSA_AUDIT_POLICY_FAILURE=2,
+ LSA_AUDIT_POLICY_ALL=(LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE),
+ LSA_AUDIT_POLICY_CLEAR=4
+ } lsa_PolicyAuditPolicy;
+
+ typedef enum {
+ LSA_AUDIT_CATEGORY_SYSTEM = 0,
+ LSA_AUDIT_CATEGORY_LOGON = 1,
+ LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS = 2,
+ LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS = 3,
+ LSA_AUDIT_CATEGORY_PROCCESS_TRACKING = 4,
+ LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES = 5,
+ LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT = 6,
+ LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS = 7, /* only in win2k/2k3 */
+ LSA_AUDIT_CATEGORY_ACCOUNT_LOGON = 8 /* only in win2k/2k3 */
+ } lsa_PolicyAuditEventType;
+
typedef struct {
uint32 auditing_mode;
- [size_is(count)] uint32 *settings;
+ [size_is(count)] lsa_PolicyAuditPolicy *settings;
uint32 count;
} lsa_AuditEventsInfo;