create krb5 context without config files

Greg Hudson ghudson at MIT.EDU
Thu Jun 12 16:39:37 EDT 2014


On 06/12/2014 03:09 PM, Bin Lu wrote:
> Krb5_init_context_profile() seems to init a context from an existing profile which could be retrieved from krb5_get_profile(). profile_init_vtable() is not a public API, so should not be recommended to use. 

It was just an oversight that we didn't add profile_init_vtable to the
libkrb5 export list.  As Ben said, it should be fixed in 1.12.2.

> Seems there isn't any other API to create a Kerberos context without using config files. Could you please confirm?

At the moment, yes.  I would like it to be possible to create an
in-memory empty profile and then set values on it with
profile_add_relation, but we haven't implemented it yet.


More information about the krbdev mailing list