summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2019-01-14 09:53:13 +1300
committerKarolin Seeger <kseeger@samba.org>2019-01-14 10:21:32 +0100
commitf6ff49b3da8432f061b557c7ca3eb04680228f79 (patch)
tree517d43af6b840e25e35098a9dbc1c1ba38359256 /auth
parentd1027b4b8e65d8bede4e4fb9316c484f941f6b2a (diff)
downloadsamba-f6ff49b3da8432f061b557c7ca3eb04680228f79.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 (cherry picked from commit 31957c7fe9d0f67bef08177e982043a23b172c7d) Edited to apply to y4.9: Gary Lockyer <gary@catalyst.net.nz>
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 67d23c12a1b..38d29db4396 100644
--- a/auth/auth_log.c
+++ b/auth/auth_log.c
@@ -201,7 +201,7 @@ static void log_authentication_event_json(
lp_ctx,
&wrapper,
AUTH_JSON_TYPE,
- DBGC_AUTH_AUDIT,
+ DBGC_AUTH_AUDIT_JSON,
debug_level);
json_free(&wrapper);
}
@@ -281,7 +281,7 @@ static void log_successful_authz_event_json(
lp_ctx,
&wrapper,
AUTHZ_JSON_TYPE,
- DBGC_AUTH_AUDIT,
+ DBGC_AUTH_AUDIT_JSON,
debug_level);
json_free(&wrapper);
}