Blame SOURCES/mod_auth_kerb-5.4-cachedir.patch

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