Sam Hartman hartmans at MIT.EDU
Thu Dec 30 19:56:19 EST 2004

>>>>> "Ken" == Ken Hornstein <kenh at> writes:

    >> krb5_error_code KRB5_LIB_FUNCTION
    >> krb5_cc_new_unique(krb5_context context, const char *type,
    >> const char *hint, krb5_ccache *id)

    Ken> This seems like a great idea, since I've never figured out
    Ken> how krb5_cc_gen_new() can be useful.

For the most part you can't.  You can resolve a cache of the given
type and then gen_new it (MIT) or use the Heimdal function.  Resolving
a cache and gen_newing it leaks memory.

I.E API broken as designed in the MIT implementation.


More information about the krbdev mailing list