[Samba] DNS Update Failed

Rowland penny rpenny at samba.org
Sat Aug 3 13:58:24 UTC 2019


On 03/08/2019 14:51, Marcio Demetrio Bacci wrote:
> Hi,
>
> > >What OS ?
> >> On Primary DC is Windows Server 2008.
> >I actually meant on the Samba AD DC ;-)
> The SO is Debian 9.9 (stretch). I'm using samba 4.5-16 and intend 
> update to samba 4.10 with van-belle repository, but, i'm trying solve 
> all the issues first.
>
> I have changed my /etc/resolv.conf as follow:
>
> But, this didn't solve the problem:
>
> ago 03 10:40:13 samba4-dc winbindd[1714]: [2019/08/03 10:40:13.718755, 
>  0] ../source3/winbindd/winbindd_cache.c:3244(initialize_winbindd_cache)
> ago 03 10:40:13 samba4-dc winbindd[1714]: initialize_winbindd_cache: 
> clearing cache and re-creating with version number 2
> ago 03 10:40:13 samba4-dc winbindd[1714]: [2019/08/03 10:40:13.990637, 
>  0] ../lib/util/become_daemon.c:124(daemon_ready)
> ago 03 10:40:13 samba4-dc winbindd[1714]:   STATUS=daemon 'winbindd' 
> finished starting up and ready to serve connections
> ago 03 10:40:14 samba4-dc smbd[1703]: [2019/08/03 10:40:14.017120,  0] 
> ../lib/util/become_daemon.c:124(daemon_ready)
> ago 03 10:40:14 samba4-dc smbd[1703]:   STATUS=daemon 'smbd' finished 
> starting up and ready to serve connections
> ago 03 10:40:14 samba4-dc samba[1711]: [2019/08/03 10:40:14.541353, 
>  0] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
> ago 03 10:40:14 samba4-dc samba[1711]: /usr/sbin/samba_dnsupdate: 
> dns_tkey_negotiategss: TKEY is unacceptable
> ago 03 10:40:14 samba4-dc samba[1711]: [2019/08/03 10:40:14.567134, 
>  0] ../source4/dsdb/dns/dns_update.c:290(dnsupdate_nameupdate_done)
> ago 03 10:40:14 samba4-dc samba[1711]: 
> ../source4/dsdb/dns/dns_update.c:290: Failed DNS update - with error 
> code 1
>
Try rebooting the Samba AD DC and if that doesn't help, try adding this 
line to smb.conf:

dns update command = /usr/sbin/samba_dnsupdate --use-samba-tool

Restart Samba

Rowland





More information about the samba mailing list