diff options
author | Isaac Boukris <iboukris@gmail.com> | 2015-06-14 22:57:26 +0300 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-06-14 17:49:49 -0400 |
commit | 5cd4e8a90f3db84e57a25570ffdfeaffcf908b6c (patch) | |
tree | c5fbadd03d875b50cdb9551703c7333ccd8f9c3b | |
parent | 8c089a89fae54236c7e05c8e153ecf1a75e27bbf (diff) | |
download | mod_auth_gssapi-5cd4e8a90f3db84e57a25570ffdfeaffcf908b6c.tar.gz mod_auth_gssapi-5cd4e8a90f3db84e57a25570ffdfeaffcf908b6c.tar.xz mod_auth_gssapi-5cd4e8a90f3db84e57a25570ffdfeaffcf908b6c.zip |
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 <simo@redhat.com>
-rw-r--r-- | src/mod_auth_gssapi.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |