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

support at support at
Wed Mar 4 05:54:29 MST 2015

Hello ,

Forgive me my ignorance somehow,

> Hi Andrew,
> > I've been asked by a client to help them rename a DC (in a reproducible,
> > scripted way to assist in creating a test clone of their production
> > network), and it turned out to be much more work than I ever imagined. 
> > 

@andrew .. same issues i seen here , remeber my asks ?

> > I ended up rewriting samba_dnsupdate to use samba-tool when kinit fails.
> > This is important, because if you change (say with the renamedc script)
> > the host name, and the IP (because if you are moving to the test bench),
> > then Kerberos is the *last* thing that will work.
> > 
> > This uses NTLMSSP to one of the interface IP addresses.
> > 
> > Please review/comment/push!
> I may push some of them.
> > Metze,
> > 
> > Why did you not add NS records to the dns_update_list?  Are we unable to
> > add those with dynamic DNS updates for some reason?  (If so, I'll make a
> > special case to force these to samba-tool). 
> Yes, this is not allowed via dns updates against Windows.

samba4 are on linux and there are *many* KMU to Big Irons  that have NO MORE any windows DCś . 

Thus - there must be *save* samba4 dns update an way's either windows server dns or i.e for support the isc dhcpd directly.

... Either with DC Joins , desktop pcś dynamnic dns updates and more .

This shuold be soon fully supported at 4.2.x please.
It had been working for samba 3.6 with isc-dhcp but for samba 4.x its a pitty .

> I'd propose the following syntax:
> SERVER = NS server von ZONE
> => samba-tool dns add ${SERVER} ${ZONE} ${NAME}. ${TYPE} ${TARGET}
> => samba-tool dns add ${SERVER} ${DNSDOMAIN} ${DNSDOMAIN}. NS ${HOSTNAME}
> => samba-tool dns add ${SERVER} _msdcs.${DNSFOREST} _msdcs.${DNSFOREST}.
> => samba-tool dns add ${SERVER} ${DNSFOREST} _msdcs.${DNSFOREST}. NS
> See
> metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addressbook.vcf
Type: text/x-vcard
Size: 901 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list