Add lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.
authorGünther Deschner <gd@samba.org>
Wed, 16 Jan 2008 15:01:50 +0000 (16:01 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 16 Jan 2008 15:01:50 +0000 (16:01 +0100)
Guenther

source/librpc/idl/lsa.idl

index 705c86e39b3209f234385ee869661f1a58afeb38..8d26ec0aad2719dd6316c6ac1eefb0f750b6afc3 100644 (file)
@@ -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;