diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2017-02-23 13:50:14 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-03-29 02:37:26 +0200 |
commit | 8154acfd0d0bc00115a1aa65963f4f8c00fe4312 (patch) | |
tree | e3ca80838b655320e637cdac951fb4b501521940 /auth/common_auth.h | |
parent | 0db7719071999f3dcf6f45b030f7c3c23f2a72f6 (diff) | |
download | samba-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.h | 6 |
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 |