Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2017 08:45:50 +0200
From:      Alnis Morics <alnis.moritz@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Samba 4.4 on FreeBSD 11 segfaults with domain provisioning
Message-ID:  <ac33cab3-d4c9-10eb-8ca8-131513a7ae82@gmail.com>
In-Reply-To: <alpine.DEB.2.11.1702271049270.1537@motsugo.ucc.gu.uwa.edu.au>
References:  <alpine.DEB.2.11.1702271049270.1537@motsugo.ucc.gu.uwa.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/27/2017 05:33, David Adam wrote:
> Hi,
>
> Has anyone managed to get net/samba44 provisioning a domain? Both the
> binary packages and port segfault with both classicupgrade and a brand new
> provision:
>
> root@mulmul /u/p/n/samba44# samba-tool domain provision --use-rfc2307
> --domain UCCDOMTEST --realm adtest2.ucc.gu.uwa.edu.au
> Administrator password will be set randomly!
> Looking up IPv4 addresses
> Looking up IPv6 addresses
> More than one IPv6 address found. Using 2405:3c00:5200:100::10
> 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=adtest2,DC=ucc,DC=gu,DC=uwa,DC=edu,DC=au
> Adding configuration container
> Setting up sam.ldb schema
> Setting up sam.ldb configuration data
> Setting up display specifiers
> Modifying 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
> fish: 'samba-tool domain provision -...' terminated by signal SIGSEGV
> (Address boundary error)
>
> The backtrace is attached; I can provide more information if that would be
> helpful. I haven't managed to convince a newer version of Samba to build
> from source.
>
> Thanks
>
> David Adam
> zanchey@ucc.gu.uwa.edu.au
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>

Hi, David.

It's a known bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209787

The last time I experimented, samb43 port/package worked ok with 
provisioning. samba44 -- only on i386 arch. At the moment I use 
samba-4.4.9 compiled from source (using the port deps minus ldb, tdb, 
talloc, tevent), and it doesn't segfault while provisioning. Nor does 
the latest stable Samba compiled from source (4.5.5), but there I got 
problems with net rpc commands.

-Alnis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac33cab3-d4c9-10eb-8ca8-131513a7ae82>