[krbdev.mit.edu #7988] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Tue Aug 12 18:23:16 EDT 2014


Make krb5_cc_new_unique create DIR: directories

When we use krb5_cc_new_unique to create a new cache in a directory
cache collection, we will fail if the directory doesn't exist yet.

Go ahead and preemptively create it, as we do during krb5_cc_resolve,
before attempting to create a new file under it.

(cherry picked from commit bca1191210eb582fe09e94486e2631d72b8a5ca5)

https://github.com/krb5/krb5/commit/f678ea7b849248d678b9369edfc124b0589e6eb4
Author: Nalin Dahyabhai <nalin at redhat.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: f678ea7b849248d678b9369edfc124b0589e6eb4
Branch: krb5-1.13
 src/lib/krb5/ccache/cc_dir.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)



More information about the krb5-bugs mailing list