From: Tom Yu Date: Wed, 24 Jan 2001 04:22:43 +0000 (+0000) Subject: * forward.c (rd_and_store_for_creds): Overwrite any existing value X-Git-Tag: krb5-1.3-alpha1~1693 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ebbb9bd5886a38c24dbb2c71d95a2b09d7b66c6;p=krb5.git * forward.c (rd_and_store_for_creds): Overwrite any existing value of the KRB5CCNAME environment variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12937 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index d0bd3a66c..182bf0d2d 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,8 @@ +2001-01-23 Tom Yu + + * forward.c (rd_and_store_for_creds): Overwrite any existing value + of the KRB5CCNAME environment variable. + 2001-01-16 Ken Raeburn * krcp.c (error): Always declare with ellipsis. diff --git a/src/appl/bsd/forward.c b/src/appl/bsd/forward.c index e22fc1d98..e47b8ff16 100644 --- a/src/appl/bsd/forward.c +++ b/src/appl/bsd/forward.c @@ -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;