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)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Mar 2017 00:37:28 +0000 (02:37 +0200)
commitf498ba77df2313e78863e5f2706840c43e232a96
treef9946b6f23308cb8288ed363658fbc5207f94aa6
parent7cbe1c844ea359b6d5386b3986aa16152e975f3d
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>
auth/auth_log.c
auth/common_auth.h
selftest/knownfail
source4/heimdal/kdc/kerberos5.c
source4/heimdal/lib/hdb/hdb.h
source4/kdc/db-glue.c
source4/kdc/hdb-samba4.c
source4/kdc/kdc-heimdal.c
source4/kdc/samba_kdc.h