Blame SOURCES/mod_auth_kerb-5.4-cachedir.patch

0e5650
0e5650
Per https://bugzilla.redhat.com//show_bug.cgi?id=796430
0e5650
switch the cache dir to be relative to runtimedir.
0e5650
0e5650
--- mod_auth_kerb-5.4/src/mod_auth_kerb.c.cachedir
0e5650
+++ mod_auth_kerb-5.4/src/mod_auth_kerb.c
0e5650
@@ -891,7 +891,7 @@ create_krb5_ccache(krb5_context kcontext
0e5650
    int ret;
0e5650
    krb5_ccache tmp_ccache = NULL;
0e5650
 
0e5650
-   ccname = apr_psprintf(r->connection->pool, "FILE:%s/krb5cc_apache_XXXXXX", P_tmpdir);
0e5650
+   ccname = apr_pstrdup(r->connection->pool, "FILE:/run/httpd/krbcache/krb5cc_apache_XXXXXX");
0e5650
    fd = mkstemp(ccname + strlen("FILE:"));
0e5650
    if (fd < 0) {
0e5650
       log_rerror(APLOG_MARK, APLOG_ERR, 0, r,