[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about using plugin to resolve kdc host
Hello,
Do you mean _krb5_plugin_register ? I wanted to know if it was useful
first or not. Apparently it is.
You can also put plugins in the plugin directory and they will be
exposed to the library.
Love
3 nov 2007 kl. 22.14 skrev Zeqing (Fred) Xia:
>
>
> Thanks. This is a great feature. Why not put it into general headers?
>
>
> Fred
>
> -----Original Message-----
> From: Love Hörnquist Åstrand [mailto:lha@kth.se]
> Sent: Sat 11/3/2007 1:02 PM
> To: heimdal-discuss@sics.se; Zeqing (Fred) Xia
> Subject: Re: Question about using plugin to resolve kdc host
>
> Hello Fred,
>
>> It seems to me one can set up some plugin to tell which kdc host to
>> connect at runtime. However the code is not clear to me. KD_PLUGIN
>> is defined in krbhst.c only. Don't see how this flag can be set for
>> a context. I couldn't find any reference code. Does anyone have
>> some insight or example? Thanks a lot.
>
> Se sample code in lib/krb5/test_plugin.c
>
> Love
>
>
>