Hi,
I replicated a new samba 4.5.0 from a samba 4.4.4 (the process took about 5
hours, against 20 hours when replicating a new 4.4.4, thanks!)
Everything went well, but I noticed that the dns updates are getting crashs
in the new server. See:
# samba_dnsupdate --verbose
[...]
25 DNS updates and 0 DNS deletes needed
ldb_wrap open of secrets.ldb
Traceback (most recent call last):
File "/usr/local/sbin/samba_dnsupdate", line 784, in <module>
creds = get_credentials(lp)
File "/usr/local/sbin/samba_dnsupdate", line 141, in get_credentials
ans = check_one_dns_name(sub_vars['DNSDOMAIN'] + '.',
'NS')
File "/usr/local/sbin/samba_dnsupdate", line 251, in
check_one_dns_name
ans = resolver.query(name, name_type)
File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 912,
in
query
raise_on_no_answer)
File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 143,
in
__init__
raise NoAnswer
dns.resolver.NoAnswer
thanks for any help. Please tell me if more information is needed.
I had success by adding the --no-credentials option. But Im still confused if it is a bug or a feature. :) 2016-09-24 15:10 GMT-03:00 Jeanderson Soares <ssjeanderson at gmail.com>:> Hi, > > I replicated a new samba 4.5.0 from a samba 4.4.4 (the process took about > 5 hours, against 20 hours when replicating a new 4.4.4, thanks!) > Everything went well, but I noticed that the dns updates are getting > crashs in the new server. See: > > # samba_dnsupdate --verbose > [...] > 25 DNS updates and 0 DNS deletes needed > ldb_wrap open of secrets.ldb > Traceback (most recent call last): > File "/usr/local/sbin/samba_dnsupdate", line 784, in <module> > creds = get_credentials(lp) > File "/usr/local/sbin/samba_dnsupdate", line 141, in get_credentials > ans = check_one_dns_name(sub_vars['DNSDOMAIN'] + '.', 'NS') > File "/usr/local/sbin/samba_dnsupdate", line 251, in check_one_dns_name > ans = resolver.query(name, name_type) > File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 912, in > query > raise_on_no_answer) > File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 143, in > __init__ > raise NoAnswer > dns.resolver.NoAnswer > > thanks for any help. Please tell me if more information is needed. >