[PATCH] Use samba-tool to add DNS entries with samba_dnsupdate

Andrew Bartlett abartlet at samba.org
Mon Sep 7 03:45:36 UTC 2015


On Thu, 2015-09-03 at 18:53 +0200, Andreas Schneider wrote:
> On Friday 28 August 2015 16:50:52 Andrew Bartlett wrote:
> > On Fri, 2015-08-28 at 15:52 +1200, Andrew Bartlett wrote:
> > > 
> > > It is, but not in the way you think.  The issue is that we need 
> > > it to
> > > forward DNS queries between the two forests, for the trust to be 
> > > set
> > > up
> > > correctly.  While I've currently set up a hack (attached) to make 
> > > it
> > > forward between the two servers, this may break other things.
> > > 
> > > The autobuild got as far as a smb2.notify test failing, that may 
> > > or
> > > may
> > > not be related:
> > > 
> > > [432(1779)/1870 at 50m34s] samba3.smb2.notify(nt4_dc)
> > > TESTING CHANGE NOTIFY BASEDIR EVENTS
> > > maximum runtime exceeded for smbtorture - terminating
> > > UNEXPECTED(error): samba3.smb2.notify.basedir
> > > (samba.subunit.RemotedTestCase)(nt4_dc)
> > > REASON: Exception: Exception: was started but never finished!
> > > UNEXPECTED(error): samba3.smb2.notify.basedir(nt4_dc)
> > > (samba.subunit.RemotedTestCase)
> > > REASON: was started but never finished!
> > 
> > The attached patches help ensure we really use resolv_wrapper, and 
> > not
> > nss_wrapper, and that the 127. addresses used actually get written 
> > into
> > DNS.
> 
> Hi,
> 
> the patchset at:
> 
> https://git.samba.org/?p=asn/samba.git;a=shortlog;h=refs/heads/master
> -selftest
> 
> should work now. The patch "selftest: Always fake dns for nt4_dc and 
> fileserver" doesn't have a review. It turns on dns faking for nt4_dc. 
> If we 
> join as a member to AD we can contact the AD DNS server.
> 
> Review and push appreciated!
> 

I would review this, but can you please propose a patch with a clearer
title and rationalle for 'dns faking'.  Can we please define it into:
 - nss DNS emulation
 - resolv DNS emulation

I have real trouble working out which mode dns faking is meant to be,
and it has caused me much trouble when attempting to work on this patch
set.

It also doesn't work for me, because this still fails:

make -j testenv SELFTEST_TESTENV="fl2003dc:local"

Perhaps you didn't update your branch?  I expected the attached to be
included at least (but even with this patch that command fails).

Thanks,

Andrew Bartlett

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




-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-selftest-Forward-DNS-queries-between-fl2003dc-and-ad.patch
Type: text/x-patch
Size: 2040 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150907/5540911d/0001-selftest-Forward-DNS-queries-between-fl2003dc-and-ad.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150907/5540911d/signature.sig>


More information about the samba-technical mailing list