summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-12-14 16:05:33 +1300
committerAndrew Bartlett <abartlet@samba.org>2018-12-14 14:32:25 +0100
commit31957c7fe9d0f67bef08177e982043a23b172c7d (patch)
treeda027d6b75f5a0a5106dcff6f61a725fd285160a /auth
parentb776ba8042ac94b1fdda2d4073283a5609c8239c (diff)
downloadsamba-31957c7fe9d0f67bef08177e982043a23b172c7d.tar.gz
audit_logging: auth_json_audit required auth_json
To log JSON the human-readable logs must also have been enabled BUG: https://bugzilla.samba.org/show_bug.cgi?id=13715 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Dec 14 14:32:25 CET 2018 on sn-devel-144
Diffstat (limited to 'auth')
-rw-r--r--auth/auth_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth/auth_log.c b/auth/auth_log.c
index 15a2c15c489..531709febce 100644
--- a/auth/auth_log.c
+++ b/auth/auth_log.c
@@ -270,7 +270,7 @@ static void log_authentication_event_json(
log_json(msg_ctx,
lp_ctx,
&wrapper,
- DBGC_AUTH_AUDIT,
+ DBGC_AUTH_AUDIT_JSON,
debug_level);
json_free(&wrapper);
return;
@@ -405,7 +405,7 @@ static void log_successful_authz_event_json(
log_json(msg_ctx,
lp_ctx,
&wrapper,
- DBGC_AUTH_AUDIT,
+ DBGC_AUTH_AUDIT_JSON,
debug_level);
json_free(&wrapper);
return;