Problems creating a Kerberos test (sw_gethostbyname?)
Michael Sweet
mike at easysw.com
Wed Feb 15 00:28:34 GMT 2006
simo wrote:
> On Wed, 2006-02-15 at 09:25 +1100, Andrew Bartlett wrote:
>
>> I'm looking for pointers and suggestions on how we can do this,
>> hopefully without effectively re-inventing a DNS server, and still
>> covering all the cases.
>>
>> Any ideas?
>
> I see 2 ways.
>
> 1. provide a test bind server on one public host so that buildfarm
> machines can update fields through some sort of authentication, and do
> queries at will.
>
> 2. ask buildfarmers to install a binary of bind or provide a copy in the
> buildfarm ourselves and run it using our own provisioned data locally.
>
> both solutions may need us to use chroot to have our own resolv.conf
> file pointing to localhost, but I think it may be doable.
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?
--
______________________________________________________________________
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