summaryrefslogtreecommitdiffstats
path: root/mod_auth_kerb-5.4-cachedir.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-13 18:54:15 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-13 18:54:15 +0200
commit094adfabda4a92941f61f3132025fca1492f5fea (patch)
treed5f29cbfa01d0543341206f73464810adc5740a0 /mod_auth_kerb-5.4-cachedir.patch
parent6a0492dd00a3ca23503e3aeafdb686c937adecb9 (diff)
mod_auth_kerb: sync with rawhide
Diffstat (limited to 'mod_auth_kerb-5.4-cachedir.patch')
-rw-r--r--mod_auth_kerb-5.4-cachedir.patch7
1 files changed, 2 insertions, 5 deletions
diff --git a/mod_auth_kerb-5.4-cachedir.patch b/mod_auth_kerb-5.4-cachedir.patch
index 2c2a1fd..460db0c 100644
--- a/mod_auth_kerb-5.4-cachedir.patch
+++ b/mod_auth_kerb-5.4-cachedir.patch
@@ -4,15 +4,12 @@ switch the cache dir to be relative to runtimedir.
--- mod_auth_kerb-5.4/src/mod_auth_kerb.c.cachedir
+++ mod_auth_kerb-5.4/src/mod_auth_kerb.c
-@@ -891,7 +891,10 @@ create_krb5_ccache(krb5_context kcontext
+@@ -891,7 +891,7 @@ create_krb5_ccache(krb5_context kcontext
int ret;
krb5_ccache tmp_ccache = NULL;
- ccname = apr_psprintf(r->connection->pool, "FILE:%s/krb5cc_apache_XXXXXX", P_tmpdir);
-+ ccname = apr_pstrcat(r->connection->pool, "FILE:",
-+ ap_server_root_relative(r->pool,
-+ DEFAULT_REL_RUNTIMEDIR
-+ "/krb5cc_apache_XXXXXX"));
++ ccname = apr_pstrdup(r->connection->pool, "FILE:/run/user/apache/krb5cc_apache_XXXXXX");
fd = mkstemp(ccname + strlen("FILE:"));
if (fd < 0) {
log_rerror(APLOG_MARK, APLOG_ERR, 0, r,