From 094adfabda4a92941f61f3132025fca1492f5fea Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Jun 2012 18:54:15 +0200 Subject: mod_auth_kerb: sync with rawhide --- mod_auth_kerb-5.4-cachedir.patch | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'mod_auth_kerb-5.4-cachedir.patch') 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, -- cgit