[Samba] 4.0.6 error: AD based DNS cannot be used

steve steve at steve-ss.com
Tue May 28 01:19:45 MDT 2013

I need Bind so that dynamic dns will work with Linux clients. This was
OK in 4.0.5. Any ideas anyone? 

Provisioning with or moving to BIND9_DLZ produces the error:

 samba_upgradedns --dns-backend=BIND9_DLZ
Reading domain information
DNS accounts already exist
No zone file /usr/local/samba/private/dns/HH3.SITE.zone
DNS records will be automatically created
DNS partitions already exist
Adding dns-hh16 account
Failed to setup database for BIND, AD based DNS cannot be used
Traceback (most recent call last):
  File "/usr/local/samba/sbin/samba_upgradedns", line 454, in <module>
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 805, in create_samdb_copy
    os.path.join(dns_dir, "sam.ldb"))
"/usr/local/samba/lib64/python2.7/site-packages/samba/tdb_util.py", line
36, in tdb_copy
    status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False)
  File "/usr/lib64/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1249, in
    raise child_exception
OSError: [Errno 2] No such file or directory

More information about the samba mailing list