lib/krb5: allow access to anonymous mcache entries via name
The idea of anonymous mcache entries is that they won't be
included in the global ccache collection. But at the
same time they should be accessable via a name.
There might be better ways to do this, e.g. let the
caller specify a name like 'anonymous-application-key1'.
But we need a way to use MEMORY ccaches for different
security contexts, without the fear that they are randomly
used from the global list.
The better way would have been to opt-in in order to
fill the global ccache collection.
See
7e858c51b690ff0322766b328f60b41bc38d4ae3 for (at least part)
of the mess... there should not be a single global ccache collection
for MEMORY: ccaches! That is a security problem for applications
which used to be able to switch between different MEMORY ccaches!
Signed-off-by: Stefan Metzmacher <metze@samba.org>