From nobody Tue Jun 21 07:37:18 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E1788864EAE for ; Tue, 21 Jun 2022 07:37:28 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LRyyv6rBDz4vbs for ; Tue, 21 Jun 2022 07:37:27 +0000 (UTC) (envelope-from ml@netfence.it) Received: from [10.1.2.18] (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.17.1/8.17.1) with ESMTPSA id 25L7bIX0053910 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Tue, 21 Jun 2022 09:37:19 +0200 (CEST) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202203; t=1655797039; bh=7+WjOMlM/gOlRLsNQvIsCKhl+1X8mOiq2heD5DZrrFs=; h=Date:Subject:To:References:From:In-Reply-To; b=X6uamOWhvYefY9/Sy1CwP3rhQScC31XqVYJ4hZpBRaIjujx/oab6XS0aiD9iYIpo5 zXmQLIHLDzhIyl0gCY5zSbH24GpOxGhEw471tYNjAOpv1Fv7weSL8KJF7O2TEavLq1 p6b0GCPiWmXfHluFChPUy+bGdVAJ5hIsvQw9wAAU= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be [10.1.2.18] Message-ID: <7a419059-e748-05db-faa6-9970204e45a5@netfence.it> Date: Tue, 21 Jun 2022 09:37:18 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: Updating Samba Content-Language: en-US To: ports@freebsd.org References: From: Andrea Venturoli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4LRyyv6rBDz4vbs X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=202203 header.b=X6uamOWh; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[netfence.it:s=202203]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[netfence.it:+]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[ports]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 6/19/22 11:35, Carmel wrote: > Is this due to some technical problem? Yes, there are several technical challenges. First, Samba is designed for Linux. The developers' attitude (right or wrong, I'm not discussing this) is: "we use Linux, we develop for Linux, all others please submit patches". So Samba won't build out of the box (and have a look at the tons of patches the current ports have to provide). Sometimes there's just no FreeBSD equivalent of some Linuxism and either remove some functionality is removed or something must be added in the system (e.g. Andrew from iXsystems told me Samba 4.15 won't work on FreeBSD 12 as some kernel API was added in 13). Second, Samba is evolving fast (see, e.g. https://wiki.samba.org/index.php/The_New_VFS). This means all patching and testing needs to be redone almost anew. Third, getting Samba to compile is hard, but it's the easiest part. Testing is very complicated due to the different roles, protocol versions, myriad of options, client peculiarities, etc... The iXsystems port looks like a promising start point, but, TrueNAS differs (in their own words) a little from FreeBSD. Besides, they totally ignored DC support. bye av. P.S. Count me in if someone is able to coordinate this work.