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
--- 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)
_______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"