summaryrefslogtreecommitdiffstats
path: root/contrib/serf/auth/auth_spnego_sspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/serf/auth/auth_spnego_sspi.c')
-rw-r--r--contrib/serf/auth/auth_spnego_sspi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/serf/auth/auth_spnego_sspi.c b/contrib/serf/auth/auth_spnego_sspi.c
index ef13428..2f75f7a 100644
--- a/contrib/serf/auth/auth_spnego_sspi.c
+++ b/contrib/serf/auth/auth_spnego_sspi.c
@@ -192,7 +192,8 @@ serf__spnego_reset_sec_context(serf__spnego_context_t *ctx)
}
apr_status_t
-serf__spnego_init_sec_context(serf__spnego_context_t *ctx,
+serf__spnego_init_sec_context(serf_connection_t *conn,
+ serf__spnego_context_t *ctx,
const char *service,
const char *hostname,
serf__spnego_buffer_t *input_buf,
@@ -219,8 +220,8 @@ serf__spnego_init_sec_context(serf__spnego_context_t *ctx,
ctx->target_name = apr_pstrcat(scratch_pool, service, "/", canonname,
NULL);
- serf__log(AUTH_VERBOSE, __FILE__,
- "Using SPN '%s' for '%s'\n", ctx->target_name, hostname);
+ serf__log_skt(AUTH_VERBOSE, __FILE__, conn->skt,
+ "Using SPN '%s' for '%s'\n", ctx->target_name, hostname);
}
else if (ctx->authn_type == SERF_AUTHN_NTLM)
{
OpenPOWER on IntegriCloud