krb5/krb5 — pull request #188 by nalind (2014-08-08 21:04:28+00:00)
Title: Make krb5_cc_new_unique() create DIR: directories

When we use krb5_cc_new_unique() to create a new cache in a directory (DIR:) cache collection, we'll fail if the directory doesn't exist yet.

Go ahead and preemptively check for and create the target directory, as we do during krb5_cc_resolve(), before attempting to create a new file under it.