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 /source4/kdc/kdc-heimdal.c | |
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 'source4/kdc/kdc-heimdal.c')
-rw-r--r-- | source4/kdc/kdc-heimdal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/kdc/kdc-heimdal.c b/source4/kdc/kdc-heimdal.c index 061296a4f40..25bb3916038 100644 --- a/source4/kdc/kdc-heimdal.c +++ b/source4/kdc/kdc-heimdal.c @@ -391,6 +391,7 @@ static void kdc_task_init(struct task_server *task) kdc->base_ctx->ev_ctx = task->event_ctx; kdc->base_ctx->lp_ctx = task->lp_ctx; + kdc->base_ctx->msg_ctx = task->msg_ctx; status = hdb_samba4_create_kdc(kdc->base_ctx, kdc->smb_krb5_context->krb5_context, |