From owner-freebsd-ports@FreeBSD.ORG Sat May 10 12:47:31 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F98A511 for ; Sat, 10 May 2014 12:47:31 +0000 (UTC) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99866A4D for ; Sat, 10 May 2014 12:47:29 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id x13so5073982wgg.10 for ; Sat, 10 May 2014 05:47:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=cHSd271ZbU/44Uw9hTHbWjHBF325fjq3W8n84mmyCLc=; b=f8FTyo4mD1l7dtdOIdoDrob58qB8Mk8wuEqHMIrDXYyEEXW6UUwMbTlc+yOYqSF+Vn VPXsk/m+CcMAny6PRa8sSGiFZvJNSQ1BFFSk0sRaXdy26kIH6BX6/eL/HLMcV3kV6hkl uEUkiKMriKY7PkjldrUhuY/1AixhFS9XWYY7OpoCmvY9tXMhMXzqLgyUH81iLRIE3see xo/pF2VwYzbqraCRZ8YhvjUHB37K9VrzjpWPRRuq02DrVx7Y5yVoyjfHiQumaKFzFzu7 MuW2nCxLXVMOBxjW+cJpbeb+JCYJkswj+G0nBZjui8CwWCOVHTj/+58QQjQxfgLWAUWN 0voA== X-Gm-Message-State: ALoCoQl17aa1hv+pKDlj32G6n3Ogzir+QfN3zcvAiDmx4ekSOyEQhxzAJS5Hjrl2YLFu/wIVAEMb X-Received: by 10.180.108.147 with SMTP id hk19mr7543226wib.42.1399726041854; Sat, 10 May 2014 05:47:21 -0700 (PDT) MIME-Version: 1.0 Sender: timur@bat.ru Received: by 10.194.42.8 with HTTP; Sat, 10 May 2014 05:47:01 -0700 (PDT) In-Reply-To: <536D1C6F.70500@ixsystems.com> References: <536BB61A.7000307@ixsystems.com> <20140508194227.GB74331@kib.kiev.ua> <20140508221006.GP58138@thinkbsd.divinix.org> <536D1C6F.70500@ixsystems.com> From: "Timur I. Bakeyev" Date: Sat, 10 May 2014 14:47:01 +0200 X-Google-Sender-Auth: 1PV0QVSBZyTp55PwYALVLWhfN8w Message-ID: Subject: Re: net/samba41 port compiles nmbd as a shared object, not executable To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Konstantin Belousov , Developers iXsystems , FreeBSD , John Hixson X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2014 12:47:31 -0000 On Fri, May 9, 2014 at 8:20 PM, Craig Rodrigues wrote: > > On 05/08/14 15:10, John Hixson wrote: > >> >> So, fix what ? >> We were seeing that smbd was not dumping core. It would claim to be >> dumping >> core but wasn't. It appears this is completely unrelated. The issue >> turns out to be the kern.sugid_coredump sysctl. Once this is set, smbd >> will core fine. >> >> > > OK, so after discussions with John, I understand what is going on. > The net/samba41 port is fine, and nothing needs to be changed in it. > > We just need to verify in our application that kern.sugid_coredump=1 is > set, > in order to get debuggable coredumps from Samba. > Ok, nice to know this. As I understand, iXsystems now fully moved to Samba 4.1? I those thinking, guys, that you may wanted to create at the top of FreeNAS Samba4 appliance, similar to the one, provided by SerNet, only FreeBSD based. So, it can act as a Windows AD replacement in certain environments. In general, we have everything in ports to make the one. With best regards, Timur Bakeyev.