resolv_wrapper and __res functions (was: Re: [PATCH 0/5] dns: Add authority record to replies)
abartlet at samba.org
Mon Aug 10 02:22:11 UTC 2015
On Wed, 2015-08-05 at 08:48 +0200, Kai Blin wrote:
> On 30/07/15 13:24, Kai Blin wrote:
> Ok, after some more digging..
> > But also it looks like nsupdate keeps sending SOA requests and not
> > liking our reply. I'll investigate a bit more to find out what the
> > heck
> > it's expecting.
> Something between `make testenv` and calling nsupdate with
> seems to be misplacing the UDP packets from the server. Both
> as well as `nsupdate -g` work just fine against an actual Samba AD DC
> provisioned outside our test environment. Ok, `nsupdate -g` complains
> about the TSIG coming from the server, but that's an unrelated bug.
> The PCAP file captured by socketwrapper in `make testenv` also looks
> identical to what happens on the wire for a real system, but
> still keeps resending the SOA request and not seeing the reply until
> gives up claiming the name server could not be reached.
> So, seeing how that is an unrelated issue, can these patches go in
I've reproduced the same thing. I needed this patch (or at least the
__res_nquery part) to get that far however, as otherwise resolv_wrapper
was exiting the samba_dnsupdate binary with 255, unable to find
res_nquery when that has been defined aside to __res_nquery.
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4031 bytes
Desc: not available
More information about the samba-technical