summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2018-04-04 11:56:30 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-05-16 04:07:16 +0200
commit2ba55f81a9514a9e8adc6904e58d166c98aecaa7 (patch)
tree88acb01dede5ba245fa0c4c41c010f061490becb /lib/util
parent74cf8f5e3b991292ae592a0786e01914ca162caf (diff)
downloadsamba-2ba55f81a9514a9e8adc6904e58d166c98aecaa7.tar.gz
logging: add ldb audit classes
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/debug.c6
-rw-r--r--lib/util/debug.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index d010b724203..d7b641e4384 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -543,6 +543,12 @@ static const char *default_classname_table[] = {
[DBGC_DRS_REPL] = "drs_repl",
[DBGC_SMB2] = "smb2",
[DBGC_SMB2_CREDITS] = "smb2_credits",
+ [DBGC_DSDB_AUDIT] = "dsdb_audit",
+ [DBGC_DSDB_AUDIT_JSON] = "dsdb_json_audit",
+ [DBGC_DSDB_PWD_AUDIT] = "dsdb_password_audit",
+ [DBGC_DSDB_PWD_AUDIT_JSON] = "dsdb_password_json_audit",
+ [DBGC_DSDB_TXN_AUDIT] = "dsdb_transaction_audit",
+ [DBGC_DSDB_TXN_AUDIT_JSON] = "dsdb_transaction_json_audit",
};
/*
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 1e184b47de9..8d285cd7b0f 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -95,6 +95,12 @@ bool dbghdr( int level, const char *location, const char *func);
#define DBGC_DRS_REPL 27
#define DBGC_SMB2 28
#define DBGC_SMB2_CREDITS 29
+#define DBGC_DSDB_AUDIT 30
+#define DBGC_DSDB_AUDIT_JSON 31
+#define DBGC_DSDB_PWD_AUDIT 32
+#define DBGC_DSDB_PWD_AUDIT_JSON 33
+#define DBGC_DSDB_TXN_AUDIT 34
+#define DBGC_DSDB_TXN_AUDIT_JSON 35
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS