From: kouril Date: Thu, 24 Jun 2004 08:02:04 +0000 (+0000) Subject: Added more debug messages X-Git-Tag: v5.0-rc6~10 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_kerb.cvs%2F.git;a=commitdiff_plain;h=15072eb2ea4de4a1e421fcbe4949cd74a8c38342 Added more debug messages --- diff --git a/src/mod_auth_kerb.c b/src/mod_auth_kerb.c index 0fa3474..714d5c8 100644 --- a/src/mod_auth_kerb.c +++ b/src/mod_auth_kerb.c @@ -871,6 +871,9 @@ int authenticate_user_krb5pwd(request_rec *r, ret = OK; end: + log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, + "kerb_authenticate_user_krb5pwd ret=%d user=%s authtype=%s", + ret, (MK_USER)?MK_USER:"(NULL)", MK_AUTH_TYPE); if (client) krb5_free_principal(kcontext, client); if (ccache) @@ -1295,6 +1298,10 @@ int kerb_authenticate_user(request_rec *r) /* get the type specified in .htaccess */ type = ap_auth_type(r); + log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, + "kerb_authenticate_user entered with user %s and auth_type %s", + (MK_USER)?MK_USER:"(NULL)",type?type:"(NULL)"); + if (type && strcasecmp(type, "Kerberos") == 0) use_krb5 = use_krb4 = 1; else if(type && strcasecmp(type, "KerberosV5") == 0)