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

RE: GSSAPI and realm lookup hook




Thanks a lot for the info. I was going to patch krb5_get_host_realm() in get_host_realm.c. 


Fred


-----Original Message-----
From: Michael B Allen [mailto:miallen@ioplex.com]
Sent: Tue 12/11/2007 11:08 PM
To: Zeqing (Fred) Xia
Cc: heimdal-discuss@sics.se
Subject: Re: GSSAPI and realm lookup hook
 
On Tue, 11 Dec 2007 18:48:15 -0800
"Zeqing (Fred) Xia" <fxia@juniper.net> 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
non-complicated.

Mike

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