Date: Tue, 25 Aug 2015 19:53:25 +0200 From: Stefan Esser <se@freebsd.org> To: freebsd-ports@freebsd.org Cc: ml@netfence.it Subject: Re: Samba 4.2 crashes Message-ID: <55DCAB95.20201@freebsd.org> In-Reply-To: <55DC91AF.8020108@netfence.it> References: <55DC91AF.8020108@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010500060407030606010600 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Am 25.08.2015 um 18:02 schrieb Andrea Venturoli: > Hello. > > I'm trying to upgrade from samba 3.6 to 4.2 (mainly because the former > is deprecated, so I don't want AD, just plain old functionality). > > I started with simpler installations and had almost no problem. > However, in a just a little bit more complex case (PDC+BDC with LDAP > backend), smbd and/or winbindd keep crashing. > > I started by upgrading the PDC; everything should be fine (config files, > rc.conf, database directory, connection to LDAP, etc...). > However I'm getting lots of the following messages: > >> kernel: pid 50545 (smbd), uid 0: exited on signal 6 > >> winbindd[89801]: stack overflow detected; terminated > >> winbindd[89801]: stack overflow detected; terminated I have seen that kind of failure when the port was built on a system that had www/libwww installed. In that case libmd5.so from libwww is linked to samba in preference of the system's libmd.so. I sent a note to the port's maintainer, a few weeks ago, but apparently he did not apply the patch I included, which fixes the port. In case you have libwww installed, you can simply temporarily deinstall it while you build samba42. Or apply the attached patch (copy it to the samba42 port's files directory and rebuild the port). Best regards, STefan --------------010500060407030606010600 Content-Type: text/plain; charset=UTF-8; name="patch-lib__crypto__wscript_configure" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-lib__crypto__wscript_configure" --- lib/crypto/wscript_configure~ 2014-10-01 11:16:21.000000000 +0200 +++ lib/crypto/wscript_configure 2015-08-11 22:54:47.865668000 +0200 @@ -1,8 +1,8 @@ if not conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h', checklibc=True): - conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h', - checklibc=True) conf.CHECK_FUNCS_IN('MD5Init', 'md', headers='sys/md5.h', checklibc=True) + conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h', + checklibc=True) conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h', checklibc=True) --------------010500060407030606010600--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DCAB95.20201>