Samba4 on non-Linux OSes?

Andrew Bartlett abartlet at samba.org
Thu Jun 10 18:34:20 MDT 2010


On Fri, 2010-06-11 at 01:45 +0200, Jelmer Vernooij wrote:
> Hi John,
> 
> On Thu, 2010-06-10 at 16:16 -0700, John Danks wrote:
> > Is Samba4 expected compile and run on non-Linux OSes? I remember
> > reading something like that in the past but now I can't find any
> > definitive statements either way.
> Yeah, we do try to get it to build on other platforms and we have a
> build farm to be able to see the failures on other platforms. As far as
> I know we don't have an OpenBSD box at the moment.
> 
> > I'm attempting to build and test the latest s4 from git on OpenBSD 4.7
> > (amd64). The build completes but the quicktest fails, complaining
> > about a talloc double free. The steps I used are:
> > 
> > $ cd samba-master/source4
> > $ ./autogen.sh
> > $ ./configure.developer (output below)
> > $ gmake
> > $ gmake quicktest
> This looks reasonable.
> 
> > WAF_MAKE=1 ../buildtools/bin/waf test --quick

> > PROVISIONING DC...dos charset 'CP850' unavailable - using ASCII
> > schema_load_init: dsdb_set_schema() failed: 32:No such object:
> > del_trans error on
> > CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com: prepare_commit
> > error on CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com: Failed
> > to store index records in transaction commit: Other
> > talloc: double free error - first free may be at
> > ../dsdb/samdb/ldb_modules/schema_load.c:237
> > Bad talloc magic value - double free
> > Abort trap (core dumped)
> The double free definitely is strange, it's probably a bug that is only
> triggered on OpenBSD for some reason.

The previous error seems to be the issue here.  Once the prepare_commit
fails, then something else has done the double-free.  Of course, he
double free should be fixed, as it will happen on any platform if
prepare_commit has failed. 

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100611/25119e64/attachment.pgp>


More information about the samba-technical mailing list