openbsd-ports/security/cyrus-sasl2/patches/patch-saslauthd_auth_krb5_c

12 lines
474 B
Plaintext

--- saslauthd/auth_krb5.c.orig Sat May 22 06:38:57 2004
+++ saslauthd/auth_krb5.c Sun Oct 31 22:44:54 2004
@@ -329,7 +329,7 @@ auth_krb5 (
}
/* create a new CCACHE so we don't stomp on anything */
- snprintf(tfname,sizeof(tfname), "/tmp/k5cc_%d", getpid());
+ snprintf(tfname,sizeof(tfname), "%s/k5cc_%d", tf_dir, getpid());
if (krb5_cc_resolve(context, tfname, &ccache)) {
krb5_free_principal(context, auth_user);
krb5_free_context(context);