[Pkg-samba-maint] Bug#664965: samba4: Failed to setup database for BIND, AD based DNS cannot be used
Frank Skorczyk
brahms at web.de
Wed Mar 21 22:03:34 UTC 2012
Package: samba4
Version: 4.0.0~alpha18.dfsg1-2
Severity: important
Dear Maintainer,
samba4 (4.0.0~alpha18.dfsg1-2) wird eingerichtet ...
ERROR: Invalid smb.conf
ERROR: Invalid smb.conf
Administrator password will be set randomly!
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=testlab,DC=intern
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Adding users container
Modifying users container
Adding computers container
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
Creating CN=MicrosoftDNS,CN=System,DC=franks,DC=intern
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
sh: 1: /bin/tdbbackup: not found
Failed to setup database for BIND, AD based DNS cannot be used
Traceback (most recent call last):
File "/usr/share/samba/setup/provision", line 262, in <module>
useeadb=eadb, next_rid=opts.next_rid, lp=lp)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1761, in provision
am_rodc=am_rodc, lp=lp)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1489, in provision_fill
targetdir=targetdir, site=DEFAULTSITE)
File "/usr/lib/python2.7/dist-packages/samba/provision/sambadns.py", line 1027, in setup_ad_dns
create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid)
File "/usr/lib/python2.7/dist-packages/samba/provision/sambadns.py", line 747, in create_samdb_copy
os.path.join(dns_dir, "sam.ldb"))
File "/usr/lib/python2.7/dist-packages/samba/provision/sambadns.py", line 684, in tdb_copy
raise Exception("Error copying %s" % file1)
Exception: Error copying /var/lib/samba/private/sam.ldb
dpkg: Fehler beim Bearbeiten von samba4 (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
configured to not write apport reports
Fehler traten auf beim Bearbeiten von:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at dc04:~#
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba4 depends on:
ii debconf [debconf-2.0] 1.5.42
ii libasn1-8-heimdal 1.6~git20120311.dfsg.1-1
ii libbsd0 0.3.0-2
ii libc6 2.13-27
ii libcomerr2 1.42.1-2
ii libdcerpc-server0 4.0.0~alpha18.dfsg1-2
ii libdcerpc0 4.0.0~alpha18.dfsg1-2
ii libgensec0 4.0.0~alpha18.dfsg1-2
ii libhdb9-heimdal 1.6~git20120311.dfsg.1-1
ii libkdc2-heimdal 1.6~git20120311.dfsg.1-1
ii libkrb5-26-heimdal 1.6~git20120311.dfsg.1-1
ii libldb1 1:1.1.4+git20120206-1
ii libndr-standard0 4.0.0~alpha18.dfsg1-2
ii libndr0 4.0.0~alpha18.dfsg1-2
ii libpopt0 1.16-3
ii libpython2.7 2.7.3~rc1-1
ii libroken18-heimdal 1.6~git20120311.dfsg.1-1
ii libsamba-credentials0 4.0.0~alpha18.dfsg1-2
ii libsamba-hostconfig0 4.0.0~alpha18.dfsg1-2
ii libsamba-util0 4.0.0~alpha18.dfsg1-2
ii libsamdb0 4.0.0~alpha18.dfsg1-2
ii libsmbclient-raw0 4.0.0~alpha18.dfsg1-2
ii libtalloc2 2.0.7+git20120207-1
ii libtdb1 1.2.9+git20120207-1
ii libtevent0 0.9.15-1
ii python 2.7.2-10
ii python-dnspython 1.9.4-1
ii python-samba 4.0.0~alpha18.dfsg1-2
ii samba4-common-bin 4.0.0~alpha18.dfsg1-2
Versions of packages samba4 recommends:
ii attr 1:2.4.46-5
ii bind9utils 1:9.8.1.dfsg.P1-3
ii ldb-tools 1:1.1.4+git20120206-1
ii samba-dsdb-modules 4.0.0~alpha18.dfsg1-2
Versions of packages samba4 suggests:
pn bind9 <none>
pn phpldapadmin <none>
pn samba-gtk <none>
pn swat2 <none>
-- debconf information:
samba4/upgrade-from-v3: true
samba4/server-role: dc
samba4/realm: TESTLAB.INTERN
More information about the Pkg-samba-maint
mailing list