Subject: Re: CVS commit: basesrc
To: None <thorpej@netbsd.org>
From: Johan Danielsson <joda@pdc.kth.se>
List: source-changes
Date: 08/10/2000 16:11:27
Jason R Thorpe <thorpej@netbsd.org> writes:

> Add support for multiple Memory Credendial Caches, like MIT has.
> This fleshes out mcc_get_name(), mcc_resolve(), mcc_destroy().

This is quite broken.

If you do

        krb5_cc_resolve(context, "MEMORY:foo", &id1);
        krb5_cc_resolve(context, "MEMORY:foo", &id2);
        krb5_cc_destroy(context, id1);

id2 points to free'd data.

Furthermore it creates files in /tmp, which is not really desirable.

/Johan