Allow the resolv_wrapper to handle NS records

Andrew Bartlett abartlet at samba.org
Sun May 15 06:50:09 UTC 2016


On Sat, 2016-05-14 at 21:57 -0700, Richard Sharpe wrote:
> Hi folks,
> 
> To actually get net ads dns register working in the self-test
> environment, two things are needed:
> 
> 1. We need to add some NS records to the dns_host_file,
> 
> 2. resolve_wrapper needs to return them.
> 
> Attached is a patch to do the second.
> 
> When someone tells me where the first is set up I can fix that as
> well.

See
http://git.catalyst.net.nz/gw?p=samba.git;a=shortlog;h=refs/heads/samba
_dnsupdate-and-tests-base

This didn't get anywhere because of the issues you are resolving (in
part), that is the difficulty in testing this.

See in particular http://git.catalyst.net.nz/gw?p=samba.git;a=commitdif
f;h=e5e202d35b19413d0f86c3180629d0193edf7d73

However, to really do things 'properly' we need something like this:
http://git.catalyst.net.nz/gw?p=samba.git;a=commitdiff;h=9a80ed44b6fc74
ee5756f468a742863940f99a8f

See 
http://git.catalyst.net.nz/gw?p=samba.git;a=shortlog;h=refs/heads/samba
_dnsupdate-and-tests

Metze had some issues with that however, and again it still didn't have
great tests.

In a sad case of perfect being the enemy of the good, I ran out of
time, and so none of this went anywhere.  It would be great to get this
merged.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list