From: Isaac Boukris Date: Sun, 14 Jun 2015 19:57:26 +0000 (+0300) Subject: Fix connection/session bound auth X-Git-Tag: v1.3.0~20 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=commitdiff_plain;h=5cd4e8a90f3db84e57a25570ffdfeaffcf908b6c Fix connection/session bound auth A previous commit mistakenly removed the jump to the end with a successful error. Example scenario that is fixed with this patch: $ curl -v -u usera:passa http://myhost/ http://myhost/ --ntlm Reviewed-by: Simo Sorce --- diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c index 39d63a5..66c8659 100644 --- a/src/mod_auth_gssapi.c +++ b/src/mod_auth_gssapi.c @@ -431,6 +431,8 @@ static int mag_auth(request_rec *req) ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, req, "Already established context found!"); mag_set_req_data(req, cfg, mc); + ret = OK; + goto done; } pctx = &mc->ctx; } else {