X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=blobdiff_plain;f=src%2Fmod_auth_gssapi.c;h=f345efcce0aef19e40eccaf2fa32de4af7c0924d;hp=ee990c2b2d26d80bef34765dbd469e1fde98971a;hb=4b62c33f1c42182e3d7f72c5fa25284bb84572b7;hpb=b91b5d302e12f28d7135b0085f47956f4e2b1ced diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c index ee990c2..f345efc 100644 --- a/src/mod_auth_gssapi.c +++ b/src/mod_auth_gssapi.c @@ -587,7 +587,9 @@ static int mag_auth(request_rec *req) auth_header = apr_table_get(req->headers_in, "Authorization"); if (mc) { - if (mc->established && !auth_header) { + if (mc->established && + (auth_header == NULL) && + (mc->auth_type != AUTH_TYPE_BASIC)) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, req, "Already established context found!"); mag_set_req_data(req, cfg, mc);