[PATCH] Create DC DNS entires at domain join

Andrew Bartlett abartlet at samba.org
Sat Jun 10 11:24:17 UTC 2017

On Sat, 2017-06-10 at 13:09 +0200, Marc Muehlfeld wrote:
> Am 10.06.2017 um 12:56 schrieb Andrew Bartlett via samba-technical:
> > I think the root of the confusion here is that the joining DC (the
> > client) is responsible for creating the DNS entries.  So which joins
> > which makes a very big difference.
> For testing purposes I created a new forest on Win2012R2, reduced the 
> forest/domain level to 2008 R2 and joined a 2008 R2 machine. In this 
> scenario all DNS records were created automatically.

If you can figure out what Windows does differently, presumably in the
DNS replies, that would be really handy.  I think at one point this
used to work, but it may have been quite some time ago.

You should be able to see some variation with a close analysis of
comparative network traces.

>  > What I need to know is:  Is this a regression?
>  >
>  > If not, I would like to push the patches to master.  Many bugs
>  > remain in Samba, I just need to know if I'm introducing more
>  > of them :-)
> I don't see a regression. The DNS records were never created in the past 
> when joining a Windows DC to a Samba AD and this behaviour is still the 
> same with your patch.

Thanks.  I've re-pushed those to autobuild, hopefully we don't get a
flapping test this time...

Thank you so much for taking the time to look into this!

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