openbsd-ports/security/cyrus-sasl2/patches/patch-saslauthd_auth_krb5_c
kevlo 2bd2ad479b update cyrus-sasl2 2.1.18.
Submmited by Ben Hooper <ben@networkinsanity.com>
Some modifications by me, ok jakob@
2004-07-09 15:07:04 +00:00

12 lines
474 B
Plaintext

--- saslauthd/auth_krb5.c.orig Wed May 14 18:32:23 2003
+++ saslauthd/auth_krb5.c Fri Jul 9 16:30:17 2004
@@ -311,7 +311,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);