[18843] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: create krb5 context without config files

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jun 12 16:40:03 2014

Message-ID: <539A1009.3030705@mit.edu>
Date: Thu, 12 Jun 2014 16:39:37 -0400
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Bin Lu <blu@paloaltonetworks.com>, Benjamin Kaduk <kaduk@mit.edu>
In-Reply-To: <841A051D8BD4144AA7B5AC63D97F9F05B249D0@sjccmbxpw01p.paloaltonetworks.local>
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

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.
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post