Add MIT kerberos tracing capability
authorSwen Schillig <swen@linux.ibm.com>
Wed, 5 Dec 2018 09:29:44 +0000 (10:29 +0100)
committerChristof Schmitt <cs@samba.org>
Wed, 19 Dec 2018 20:49:29 +0000 (21:49 +0100)
commita800baece74fc9d3766af8432adf8efad05ed9d6
tree69c52ea7baf6d17347f072ed0874cc8241f44df0
parent49dc04f9f553c443c78c8073c07ea2a38cde61b2
Add MIT kerberos tracing capability

HEIMDAL kerberos offers already tracing via a logging facility
through smb_krb5_init_context().
MIT kerberos offers to register a callback via krb5_set_trace_callback
with which tracing information can be routed to a common logging facility.
This is now integrated into smb_krb5_init_context_basic() offering
the same functionality for both kerberos fragrances.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
lib/krb5_wrap/krb5_samba.c
lib/krb5_wrap/krb5_samba.h
source4/auth/kerberos/krb5_init_context.c