Problems creating a Kerberos test (sw_gethostbyname?)

Michael Sweet mike at easysw.com
Wed Feb 15 02:15:32 GMT 2006


tridge at samba.org wrote:
> Michael,
> 
>  > If you will be chroot'ing the test anyways, why not just create a
>  > hosts file that gethostbyname() can read in the chroot'd environment?
> 
> a couple of reasons :-)
> 
>  1) krb5 makes resolver calls that can't be answered via /etc/hosts,
>     such as SRV record lookups

OK, then you'll be using more than gethostbyname() then...  That
was the crux of my question, trying to avoid a complex solution if
there was an easy one available... :)

>  2) moving to relying on chroot in the build farm would be a disaster,
>     and would lose much of the advantages of the build farm
> 
> I also don't like the public server idea. I think the socketwrappper
> approach or magic env variables are both better approaches.
> 
> Cheers, Tridge


-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com


More information about the samba-technical mailing list