summaryrefslogtreecommitdiff
path: root/auth/common_auth.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-03-01 12:18:49 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-03-29 02:37:27 +0200
commita0ab86dedca2471ca2e4bb222f272d4bd35c85df (patch)
tree27ba831ad2af6e92a45e307eb2c85dc83ff1da24 /auth/common_auth.h
parent3bc56854457191ab817bc9a4419b1dee74138b0f (diff)
downloadsamba-a0ab86dedca2471ca2e4bb222f272d4bd35c85df.tar.gz
auth: Add logging of service authorization
In ntlm_auth.c and authdata.c, the session info will be incomplete 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>
Diffstat (limited to 'auth/common_auth.h')
-rw-r--r--auth/common_auth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index c2ba846de54..8950a0cdc91 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -152,4 +152,9 @@ void log_authentication_event(const struct auth_usersupplied_info *ui,
const char *domain_name,
const char *unix_username,
struct dom_sid *sid);
+
+void log_successful_authz_event(const struct tsocket_address *remote,
+ const struct tsocket_address *local,
+ const char *service_description,
+ struct auth_session_info *session_info);
#endif