tdb.h tdb2.h error samba4

Aaron E. ssureshot at
Thu Feb 16 07:37:33 MST 2012

Would this also solve a provision error as follows?

Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Adding DNS accounts
Populating CN=MicrosoftDNS,CN=System,DC=astro,DC=local
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones partition
Populating ForestDnsZones partition
bin/tdbbackup: /usr/local/src/samba-master/bin/shared/private/ 
version `SAMBA_4.0.0ALPHA18_DEVELOPERBUILD' not found (required by 
Failed to setup database for BIND, AD based DNS cannot be used
Traceback (most recent call last):
   File "./source4/setup/provision", line 262, in <module>
     useeadb=eadb, next_rid=opts.next_rid, lp=lp)
   File "bin/python/samba/provision/", line 1757, in provision
     am_rodc=am_rodc, lp=lp)
   File "bin/python/samba/provision/", line 1491, in 
     targetdir=targetdir, site=DEFAULTSITE)
   File "bin/python/samba/provision/", line 990, in setup_ad_dns
     create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid)
   File "bin/python/samba/provision/", line 751, in 
     os.path.join(dns_dir, "sam.ldb"))
   File "bin/python/samba/provision/", line 688, in tdb_copy
     raise Exception("Error copying %s" % file1)
Exception: Error copying /opt/samba4/private/sam.ldb

On 02/15/2012 11:27 PM, Andrew Bartlett wrote:
> On Wed, 2012-02-15 at 21:06 -0700, Jason Carlson wrote:
>> I receive the following error while compiling samba 4: (Any Ideas?)
> If you have a system tdb lib, you need to --disable-tdb2 for now.
> Andrew Bartlett

More information about the samba-technical mailing list