diff options
author | Simo Sorce <simo@redhat.com> | 2015-03-10 12:23:12 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-03-10 15:27:12 -0400 |
commit | 3effbe272147674cf92c13b387373a60f2cbbacf (patch) | |
tree | 9a933e4ab27b17e5759f52737d3432c555ad4aaf /src/mod_auth_gssapi.h | |
parent | 2b95bf742f097b419b4e63ef74f33fc121c91bf0 (diff) | |
download | mod_auth_gssapi-3effbe272147674cf92c13b387373a60f2cbbacf.tar.gz mod_auth_gssapi-3effbe272147674cf92c13b387373a60f2cbbacf.tar.xz mod_auth_gssapi-3effbe272147674cf92c13b387373a60f2cbbacf.zip |
Improve Basic Auth based logins
Set a per-thread Credentials Cache Name that will be thrown away once
authentication is done. This handles both an issue with stomping on
ccaches if two authentications happen in concurrent threads, as well
as issues with gss_acquire_cred_with_password() reusing the ccache
without actually performing an AS request.
Fixes #11
Diffstat (limited to 'src/mod_auth_gssapi.h')
-rw-r--r-- | src/mod_auth_gssapi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h index efe230d..4cf7d39 100644 --- a/src/mod_auth_gssapi.h +++ b/src/mod_auth_gssapi.h @@ -5,6 +5,7 @@ #include <time.h> #include <gssapi/gssapi.h> #include <gssapi/gssapi_ext.h> +#include <gssapi/gssapi_krb5.h> #define APR_WANT_STRFUNC #include "apr_want.h" |