Overriding profile settings
Mark Schreiber
mark7 at maginatics.com
Mon May 13 23:03:49 EDT 2013
Greg Hudson <ghudson at MIT.EDU> writes:
> On 05/13/2013 07:41 PM, Mark Schreiber wrote:
>> I'm writing some libkrb5-using code. I'd like to override one setting
>> from the config files in that code, but otherwise use the settings from
>> the config file.
>
> I don't think we support that very well right now, unfortunately. What
> setting do you want to override? There may be a way to handle it
> specifically.
[libdefaults]/dns_lookup_kdc; the defaults used by CentOS 5 and
Ubuntu libkrb5 installations currently differ.
>> If this is intentional, it seems strange that profile_update_relation()
>> and profile_add_relation() would be exposed in the public API, since
>> they would not then seem to be useful to an external caller.
>
> Those functions are intended to allow a caller to permanently edit the
> profile, not to edit the in-memory copy.
Ah, that makes sense. Appreciate it!
More information about the krbdev
mailing list