[Pkg-samba-maint] samba4 experimental package buggy

Jelmer Vernooij jelmer at debian.org
Tue Jul 20 14:10:17 UTC 2010


On Thu, 2010-07-08 at 11:39 +0200, Thomas Besser wrote:
> I started exploring samba4 and installed on an debian sid box (amd64) the 
> experimental package of samba4 (4.0.0~alpha13+git20100618.dfsg1-1).
> 
> Provisiong does not work:
> 
> samba4:~# provision --realm=far-samba4.arch.uni-karlsruhe.de --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=far-samba4,DC=arch,DC=uni-karlsruhe,DC=de
> 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 [0x1b760c0] on 
> /var/lib/samba/private/secrets.ldb
> 
> Compiled git samba4 from today. Worked without errors, so mistake is in 
> package.
The package builds Samba 4 with shared modules enabled (something
supported explicitly by Samba 4) but this support is broken at the
moment (since Samba 4 moved to waf as its build system). We do this
because we don't want to build private copies of talloc, tdb, tevent and
ldb but instead use the system versions.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20100720/f680fd8f/attachment.pgp>


More information about the Pkg-samba-maint mailing list