TODO: heimdal: Pass extra information to hdb_auth_status() to log success and failures
authorAndrew Bartlett <abartlet@samba.org>
Tue, 21 Feb 2017 01:07:54 +0000 (14:07 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Apr 2020 09:07:57 +0000 (11:07 +0200)
commit6101a9575e35c2d579d3970fc5dba50bb031d4ac
tree6e61a0830226c8885b6548c51f96a971b5704840
parentc9c302a8a7f8328d9527352f0be18dbcf37a57b1
TODO: 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>
(Similar to Samba commit f498ba77df2313e78863e5f2706840c43e232a96)
[metze@samba.org: improved for heimdal upstream]
Signed-off-by: Stefan Metzmacher <metze@samba.org>
kdc/kerberos5.c
kdc/process.c
lib/hdb/hdb.h