debug: Add debug class for auth_audit
authorAndrew Bartlett <abartlet@samba.org>
Sun, 19 Feb 2017 22:39:17 +0000 (11:39 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Mar 2017 00:37:26 +0000 (02:37 +0200)
This will be an audit stream of authentication and connection-level authorization

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
lib/util/debug.c
lib/util/debug.h

index 8a04c25fa007330d1fe679ab0e470f16c6435e41..009f3629979117e39ab37fb94da286c91aaee6d2 100644 (file)
@@ -537,6 +537,7 @@ static const char *default_classname_table[] = {
        [DBGC_DNS] =            "dns",
        [DBGC_LDB] =            "ldb",
        [DBGC_TEVENT] =         "tevent",
+       [DBGC_AUTH_AUDIT] =     "auth_audit",
 };
 
 /*
index 43c6aa08c7669ae1216ff9851e928a1b0e1694a8..786c80958ec2576a00e643191753bd3cf733a704 100644 (file)
@@ -89,6 +89,7 @@ bool dbghdr( int level, const char *location, const char *func);
 #define DBGC_DNS               21
 #define DBGC_LDB               22
 #define DBGC_TEVENT            23
+#define DBGC_AUTH_AUDIT                24
 
 /* So you can define DBGC_CLASS before including debug.h */
 #ifndef DBGC_CLASS