[Samba] samab-4.10 nsupdate
Rowland penny
rpenny at samba.org
Tue Jun 30 20:48:55 UTC 2020
On 30/06/2020 21:15, James B. Byrne via samba wrote:
>> Could be because you added the wrong line to your smb4.conf (why does
>> freebsd call it smb4.conf ?),
> Why does freebsd put these things in /usr/local/etc/? Some questions have
> answers that are not worth the effort to know.
>
>> try:
>> nsupdate command = /usr/local/sbin/nsupdate -g
> I did catch that error earlier. But it makes no difference. samba_dnsupdate
> does not give any evidence of using any value set by 'dns update command = '.
> It always reports that it cannot find '/usr/bin/nsupdate'.
>
> [root at smb4-1 ~ (master)]# which nsupdate
> /usr/local/bin/nsupdate
>
> [root at smb4-1 ~ (master)]# grep nsupdate /usr/local/etc/smb4.conf
> dns update command = /usr/local/bin/nsupdate -g
From 'man smb.conf':
nsupdate command (G)
This option sets the path to the nsupdate command which is used for
GSS-TSIG dynamic DNS updates.
Default: nsupdate command = /usr/bin/nsupdate -g
dns update command (G)
This option sets the command that is called when there are DNS
updates. It should update the local machines DNS names using TSIG-GSS.
Default: dns update command = ${prefix}/sbin/samba_dnsupdate
Example: dns update command = /usr/local/sbin/dnsupdate
You probably need both.
Rowland
More information about the samba
mailing list