From 5cd4e8a90f3db84e57a25570ffdfeaffcf908b6c Mon Sep 17 00:00:00 2001 From: Isaac Boukris Date: Sun, 14 Jun 2015 22:57:26 +0300 Subject: [PATCH] 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 --- src/mod_auth_gssapi.c | 2 ++ 1 file changed, 2 insertions(+) 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 { -- 2.1.4