Version 4.0.7-GIT-d4cd828
openSUSE 12.04 with bind9 installed but not configured.
Hi
Attempting to provision with BIND9_DLZ or samba_upgradedns from a
functioning SAMBA_INTERNAL install produces:
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
Failed to setup database for BIND, AD based DNS cannot be used
ERROR(<type 'exceptions.OSError'>): uncaught exception - [Errno 2]
No
such file or directory
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py",
line 398, in run
use_rfc2307=use_rfc2307, skip_sysvolacl=False)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 2145, in provision
skip_sysvolacl=skip_sysvolacl)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py",
line 1788, in provision_fill
targetdir=targetdir, site=DEFAULTSITE)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/sambadns.py",
line 1072, in setup_ad_dns
hostip6=hostip6, targetdir=targetdir)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/sambadns.py",
line 1122, in setup_bind9_dns
create_samdb_copy(samdb, logger, paths, names, domainsid,
domainguid)
File
"/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"))
File
"/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
_execute_child
raise child_exception
Same with 4.0.6 on the same box. What have I done wrong?
Thanks