[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSSAPI and realm lookup hook
On Wed, 12 Dec 2007 09:22:20 -0800
"Zeqing (Fred) Xia" <firstname.lastname@example.org> wrote:
> Thanks a lot for the info. I was going to patch krb5_get_host_realm() in get_host_realm.c.
I see. You want the realms for a host, not the hosts for a realm. Yes,
get_host_realm.c would be the right place to do that.
I've overloaded that myself too but for different reasons no doubt .
> -----Original Message-----
> From: Michael B Allen [mailto:email@example.com]
> Sent: Tue 12/11/2007 11:08 PM
> To: Zeqing (Fred) Xia
> Cc: firstname.lastname@example.org
> Subject: Re: GSSAPI and realm lookup hook
> On Tue, 11 Dec 2007 18:48:15 -0800
> "Zeqing (Fred) Xia" <email@example.com> wrote:
> > Hi All,
> > I have a need to do realm lookup with a plugin, because the current
> > realm determination logic, other than dns lookup, is not sufficient for
> > the scenario I'm dealing with.
> Hi Fred,
> Do you mean that you want to alter how Heimdal resolves servers given
> a realm?
> I don't know about the new plugin code but I have found that replacing
> lib/krb5/krbhst.c:srv_find_realm with my own implementation works
> quite well since the data structures involved are isolated and
> Michael B Allen
> PHP Active Directory SPNEGO SSO
Michael B Allen
PHP Active Directory SPNEGO SSO