[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Question about using plugin to resolve kdc host




I agree. This mechanism allows me to move away from static config file for realm/kdc mapping.
Thanks.


Fred


-----Original Message-----
From: Michael B Allen [mailto:miallen@ioplex.com]
Sent: Sat 11/3/2007 2:56 PM
To: Love Hörnquist Åstrand
Cc: Zeqing (Fred) Xia; heimdal-discuss@sics.se
Subject: Re: Question about using plugin to resolve kdc host
 
On Sat, 3 Nov 2007 22:34:05 +0100
Love Hörnquist Åstrand <lha@kth.se> wrote:

> Hello,
> 
> Do you mean _krb5_plugin_register ? I wanted to know if it was useful  
> first or not. Apparently it is.

Yes, it is. I just modified the old version of Heimdal we use to do
something similar.

Mike

> 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
> >
> >
> >
> 


-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/