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

13 lines
550 B
Plaintext

$OpenBSD: patch-saslauthd_auth_krb5_c,v 1.2 2002/12/10 08:37:42 jakob Exp $
--- saslauthd/auth_krb5.c.orig Tue Aug 27 21:22:01 2002
+++ saslauthd/auth_krb5.c Tue Dec 10 00:10:52 2002
@@ -307,7 +307,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);