Displaying 3 results from an estimated 3 matches for "nsupdate_cmd".
2016 Sep 23
3
dnsupdate_nameupdate_done - Failed DNS update
Thank you Denis and Rowland - I didn't realise this was the script, makes
sense now.
I've run it (on dc2) and it gets as far as:
need update: SRV _ldap._tcp.mysite._sites.ForestDnsZones.mydomain.org.uk
dc2.mydomain.org.uk 389
[lots of updates needed]
10 DNS updates and 0 DNS deletes needed
Successfully obtained Kerberos ticket to DNS/dc1.mydomain.org.uk as DC2$
and then it fails here:
2016 Sep 23
2
dnsupdate_nameupdate_done - Failed DNS update
On Fri, 23 Sep 2016 17:38:35 +0100
Jonathan Hunter via samba <samba at lists.samba.org> wrote:
> OK, the code from samba_dnsupdate :
> nsupdate_cmd = lp.get('nsupdate command')
> [....]
> cmd = nsupdate_cmd[:]
> cmd.append(tmpfile)
> ret = subprocess.call(cmd, shell=False, env=env)
>
> And
> $ sudo /usr/local/samba/bin/samba-tool testparm
> --parameter-name=nsupdate\ command
> /usr/bi...
2016 Sep 23
0
dnsupdate_nameupdate_done - Failed DNS update
OK, the code from samba_dnsupdate :
nsupdate_cmd = lp.get('nsupdate command')
[....]
cmd = nsupdate_cmd[:]
cmd.append(tmpfile)
ret = subprocess.call(cmd, shell=False, env=env)
And
$ sudo /usr/local/samba/bin/samba-tool testparm --parameter-name=nsupdate\
command
/usr/bin/nsupdate -g
But, I don't have anything...