Samba4: error with provision
Thomas Besser
thomas.besser at kit.edu
Wed Jul 7 06:36:35 MDT 2010
Hi all,
started with samba4 on debian sid (with experimental package samba version
4.0.0~alpha13+git20100618.dfsg1-1) and
http://wiki.samba.org/index.php/Samba4/HOWTO
Provisioning stops with errors:
samba4:~# provision --realm=samba4.example.com --domain=SAMBA4 --
adminpass=test --server-role='domain controller' --
setupdir=/usr/share/samba/setup/
Setting up secrets.ldb
no symbol `ldb_samba_secrets_module_ops' found in
/usr/lib/samba/ldb/samba_secrets.so: /usr/lib/samba/ldb/samba_secrets.so:
undefined symbol: ldb_samba_secrets_module_ops
WARNING: Module [samba_secrets] not found
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
no symbol `ldb_samba_dsdb_module_ops' found in
/usr/lib/samba/ldb/samba_dsdb.so: /usr/lib/samba/ldb/samba_dsdb.so: undefined
symbol: ldb_samba_dsdb_module_ops
WARNING: Module [samba_dsdb] not found
Adding DomainDN: DC=samba4,DC=example,DC=com
Adding configuration container
Setting up sam.ldb schema
dsdb_write_prefixes_from_schema_to_ldb: no schema dn present
Traceback (most recent call last):
File "/usr/sbin/provision", line 255, in <module>
nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb)
File "/usr/lib/python2.6/dist-packages/samba/provision.py", line 1328, in
provision
dom_for_fun_level=dom_for_fun_level, am_rodc=am_rodc)
File "/usr/lib/python2.6/dist-packages/samba/provision.py", line 950, in
setup_samdb
samdb.write_prefixes_from_schema()
File "/usr/lib/python2.6/dist-packages/samba/__init__.py", line 290, in
write_prefixes_from_schema
_glue.dsdb_write_prefixes_from_schema_to_ldb(self)
RuntimeError: (31, 'WERR_GENERAL_FAILURE')
A transaction is still active in ldb context [0x3190740] on
/var/lib/samba/private/secrets.ldb
Am I missing something? Any hint?
Thanx in advance...
Regards
Thomas
--
Karlsruher Institut für Technologie (KIT)
archIT [IT-Management der Fakultät Architektur]
Gebäude 11.40, Raum 010 | Fon +49 721 608 6024
http://www.archIT.uni-karlsruhe.de
More information about the samba-technical
mailing list