* forward.c (rd_and_store_for_creds): Overwrite any existing value
authorTom Yu <tlyu@mit.edu>
Wed, 24 Jan 2001 04:22:43 +0000 (04:22 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 24 Jan 2001 04:22:43 +0000 (04:22 +0000)
of the KRB5CCNAME environment variable.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12937 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/forward.c

index d0bd3a66c32a01d613f2c0157e7c0587da4678fb..182bf0d2d5362bae0c0a1a13a3b778567dea909c 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-23  Tom Yu  <tlyu@mit.edu>
+
+       * forward.c (rd_and_store_for_creds): Overwrite any existing value
+       of the KRB5CCNAME environment variable.
+
 2001-01-16  Ken Raeburn  <raeburn@mit.edu>
 
        * krcp.c (error): Always declare with ellipsis.
index e22fc1d98392735a0d36417625a491a7720ee3e3..e47b8ff163334b8f3b2f3f23e0dd1374423e03f2 100644 (file)
@@ -51,7 +51,7 @@ rd_and_store_for_creds(context, auth_context, inbuf, ticket, ccache)
      */
   
     sprintf(ccname, "FILE:/tmp/krb5cc_p%d", getpid());
-    setenv("KRB5CCNAME", ccname, 0);
+    setenv("KRB5CCNAME", ccname, 1);
   
     if (retval = krb5_cc_resolve(context, ccname, ccache)) 
        goto cleanup;