summaryrefslogtreecommitdiff
path: root/auth/common_auth.h
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2017-02-23 13:50:14 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-03-29 02:37:26 +0200
commit8154acfd0d0bc00115a1aa65963f4f8c00fe4312 (patch)
treee3ca80838b655320e637cdac951fb4b501521940 /auth/common_auth.h
parent0db7719071999f3dcf6f45b030f7c3c23f2a72f6 (diff)
downloadsamba-8154acfd0d0bc00115a1aa65963f4f8c00fe4312.tar.gz
auth: Generate a human readable Authentication log message.
Add a human readable authentication log line, to allow verification that all required details are being passed. 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index d775b750c4b..c2ba846de54 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -146,4 +146,10 @@ struct auth4_context {
struct auth_session_info **session_info);
};
+void log_authentication_event(const struct auth_usersupplied_info *ui,
+ NTSTATUS status,
+ const char *account_name,
+ const char *domain_name,
+ const char *unix_username,
+ struct dom_sid *sid);
#endif