samba 4 rc1: internal dns

Rowland Penny repenny at
Sat Sep 15 02:31:07 MDT 2012

On 15/09/12 08:56, mpe wrote:
> On 14/09/2012 18:46, Andrew Bartlett wrote:
>>>>> /usr/local/samba/sbin/samba_dnsupdate: usage: nsupdate [-d] [-y
>>>>> keyname:secret | -k keyfile] [-v] [filename]
>>>>> ../source4/dsdb/dns/dns_update.c:294: Failed DNS update -
>>>> Your bind9-utils package (providing nsupdate) was not built with 
>>>> gssapi
>>>> support (which would then give you a -g flag).
>>> This is en error or a warning? I don't understand if samba 4 can be 
>>> used
>>> or not.
>> Samba will work, but without this it cannot update it's own DNS
>> records.
> It's own mean also the dns master (AD dns master)?
>>>> Having removed our dependency on bind9 as a server, we do hope to 
>>>> remove
>>>> our dependency on the client as well (for this and other reasons), but
>>>> I'm not sure if this will change for the 4.0 release.
>>> Sorry, but:
>>> mysrv:~# find /usr/local/samba/ -iname "*nsup*"
>>> /usr/local/samba/sbin/samba_dnsupdate
>>> are this the same? If yes, can we modify the sources to point to it?
>> The script samba_dnsupdate calls out to the system binary 'nsupdate' to
>> do the actual work here.
> So, except to rebuild the dns client, I haven't possibility to update 
> dns?
> From my point of view this is a big limit since it does not give the 
> possibility of "./configure && make && make install + samba-tool 
> domain join" and enjoy ;)
> Thanks,
> Michele

Well if you are compiling & installing samba4 you are 99% of the way 
there, you just need an nsupdate command that recognises -g, so you may 
have to compile bind9-utils or find a ready made package.

What OS are you using? because you seem to be the only one that is 
having this problem. It may be, once we know your OS, somebody may be 
able to offer further advice.


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the samba-technical mailing list