]> git.ipfire.org Git - thirdparty/krb5.git/commit
Don't remove ccache creds before storing them
authorGreg Hudson <ghudson@mit.edu>
Thu, 1 May 2014 22:11:32 +0000 (18:11 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 7 May 2014 16:58:34 +0000 (12:58 -0400)
commit7783054742ddd807f7b2f7157d6ed81b7fb614eb
treead18469b74a6857ad20d614186ec70d49e4157fc
parenteba8c4909ec7ba0d7054d5d1b1061319e9970cc7
Don't remove ccache creds before storing them

Revert #6291, which attempts to suppress duplicate credentials by
calling krb5_cc_remove in krb5_cc_store_cred.  Most of our ccache
types don't implement remove_cred, and avoiding duplicate credentials
is a responsibility better suited to the ccache implementation for
atomicity reasons.

Removing this call gets rid of the misleading "Removing ... from ..."
messages in trace logs.

ticket: 7906 (new)
src/lib/krb5/ccache/ccfns.c