From 15072eb2ea4de4a1e421fcbe4949cd74a8c38342 Mon Sep 17 00:00:00 2001 From: kouril Date: Thu, 24 Jun 2004 08:02:04 +0000 Subject: [PATCH] Added more debug messages --- src/mod_auth_kerb.c | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- 2.1.4