I'm using SuSE 12.1 and I used the following command to provision. /usr/sbin/provision --realm=xxx.xxxxx.org --domain=XXXXX --adminpass=xxxxxxxx --server-role='domain controller' Any ideas on how to fix this? Populating ForestDnsZones partition sh: /usr/lib/mit/sbin/tdbbackup: No such file or directory Failed to setup database for BIND, AD based DNS cannot be used Traceback (most recent call last): File "/usr/sbin/provision", line 256, in <module> useeadb=eadb, next_rid=opts.next_rid, lp=lp) File "/usr/lib/python2.7/site-packages/samba/provision/__init__.py", line 1757, in provision am_rodc=am_rodc, lp=lp) File "/usr/lib/python2.7/site-packages/samba/provision/__init__.py", line 1491, in provision_fill targetdir=targetdir, site=DEFAULTSITE) File "/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 990, in setup_ad_dns create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid) File "/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 751, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 688, in tdb_copy raise Exception("Error copying %s" % file1) Exception: Error copying /var/lib/samba/private/sam.ldb
Just figured it out! I had to link /usr/lib/mit/sbin/tdbbackup with /usr/bin/tdbbackup ------------------------------------------------------------- I'm using SuSE 12.1 and I used the following command to provision. /usr/sbin/provision --realm=xxx.xxxxx.org --domain=XXXXX --adminpass=xxxxxxxx --server-role='domain controller' Any ideas on how to fix this? Populating ForestDnsZones partition sh: /usr/lib/mit/sbin/tdbbackup: No such file or directory Failed to setup database for BIND, AD based DNS cannot be used Traceback (most recent call last): File "/usr/sbin/provision", line 256, in <module> useeadb=eadb, next_rid=opts.next_rid, lp=lp) File "/usr/lib/python2.7/site-packages/samba/provision/__init__.py", line 1757, in provision am_rodc=am_rodc, lp=lp) File "/usr/lib/python2.7/site-packages/samba/provision/__init__.py", line 1491, in provision_fill targetdir=targetdir, site=DEFAULTSITE) File "/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 990, in setup_ad_dns create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid) File "/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 751, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 688, in tdb_copy raise Exception("Error copying %s" % file1) Exception: Error copying /var/lib/samba/private/sam.ldb