From 50472b1baa359201a3dc84c5e2cc8dc4009c2210 Mon Sep 17 00:00:00 2001 From: kouril Date: Wed, 22 Nov 2006 11:11:16 +0000 Subject: [PATCH] Logged a debug message saying if or not the client delegated his/her credential --- src/mod_auth_kerb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mod_auth_kerb.c b/src/mod_auth_kerb.c index 826d104..c81d16c 100644 --- a/src/mod_auth_kerb.c +++ b/src/mod_auth_kerb.c @@ -1268,6 +1268,7 @@ authenticate_user_gss(request_rec *r, kerb_auth_config *conf, gss_OID_desc spnego_oid; gss_ctx_id_t context = GSS_C_NO_CONTEXT; gss_cred_id_t server_creds = GSS_C_NO_CREDENTIAL; + OM_uint32 ret_flags = 0; *negotiate_ret_value = "\0"; @@ -1336,11 +1337,12 @@ authenticate_user_gss(request_rec *r, kerb_auth_config *conf, &client_name, NULL, &output_token, - NULL, + &ret_flags, NULL, &delegated_cred); log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, - "Verification returned code %d", major_status); + "Client %s us their credential", + (ret_flags & GSS_C_DELEG_FLAG) ? "sent" : "didn't send"); if (output_token.length) { char *token = NULL; size_t len; -- 2.1.4