diff options
author | Andrew Bartlett <abartlet@samba.org> | 2017-02-21 14:07:54 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-03-29 02:37:28 +0200 |
commit | f498ba77df2313e78863e5f2706840c43e232a96 (patch) | |
tree | f9946b6f23308cb8288ed363658fbc5207f94aa6 /auth/common_auth.h | |
parent | 7cbe1c844ea359b6d5386b3986aa16152e975f3d (diff) | |
download | samba-f498ba77df2313e78863e5f2706840c43e232a96.tar.gz |
heimdal: Pass extra information to hdb_auth_status() to log success and failures
We now pass on the original client name and the client address to allow
consistent audit logging in Samba across multiple protocols.
We use config->db[0] to find the first database to record incorrect
users.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'auth/common_auth.h')
-rw-r--r-- | auth/common_auth.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h index db59cbb99f3..507971794f3 100644 --- a/auth/common_auth.h +++ b/auth/common_auth.h @@ -83,6 +83,13 @@ struct auth_usersupplied_info const char *service_description; const char *auth_description; + + /* + * for logging only, normally worked out from the password but + * for krb5 logging only (krb5 normally doesn't use this) we + * record the enc type here + */ + const char *password_type; }; struct auth_method_context; |