From nobody Thu Oct 28 17:22:00 2021 X-Original-To: freebsd-current@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 9BC971819176; Thu, 28 Oct 2021 17:22:28 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HgC6r3Wsdz3nSj; Thu, 28 Oct 2021 17:22:28 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lj1-f172.google.com with SMTP id 17so8811245ljq.0; Thu, 28 Oct 2021 10:22:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=heYUqypMGQ1rKmpGipzpGq6k1yYodmntY/C6BinHDts=; b=zYBCeRoOLGL8/x0/iXWgurI6j+kwDElo3pe0aGWzbMc6SPXmP+x4rizPBEujTqYfcW SqZTJVkSlWzOR2uJ8PWFU2RoryahsMs9jHAkfBa8kzhruAooknpDIqQ/bU1s3Xj/AgBz 0oii/9Y9iAVxkoytlEcU1TEd0W78FtiwqRThCpBMH4igZrkTpkfjk0f00OZyNQ+PBM9Z JD5wUvueAyDVTBeDujw5XwbHkjMOBnfv8PFRIKJCx/6DlJIFz0lnPNoMd8RKnoPGkpeY YAjaTpiObSgbFSJjna6i8OkwCK4Mkdz1wsGkPKfmweQAYHnnc6Hg154ZrdMsHNJCcVp3 7SdA== X-Gm-Message-State: AOAM531izvfikdcAWEXZQP1vfLqF5UZCZa7HjRZNh6G6cT3jwbzHTDsF VnLm3gbydaIv17klb/bizsWgfvtFzYY18Q== X-Google-Smtp-Source: ABdhPJyQLxhcTR90gr9EjYmTP+HB9Kzvtsz38OWWvI2gco7nXcGxHApjkLocJIIi7+q0njc0CnU4sw== X-Received: by 2002:a2e:81cb:: with SMTP id s11mr5996490ljg.222.1635441746990; Thu, 28 Oct 2021 10:22:26 -0700 (PDT) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com. [209.85.208.170]) by smtp.gmail.com with ESMTPSA id h4sm368811lft.184.2021.10.28.10.22.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Oct 2021 10:22:26 -0700 (PDT) Received: by mail-lj1-f170.google.com with SMTP id 1so6044539ljv.2; Thu, 28 Oct 2021 10:22:26 -0700 (PDT) X-Received: by 2002:a2e:a554:: with SMTP id e20mr6189528ljn.500.1635441746690; Thu, 28 Oct 2021 10:22:26 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <8d25d2f4-24e2-5b19-5c81-2fe12dc937b7@quip.cz> In-Reply-To: <8d25d2f4-24e2-5b19-5c81-2fe12dc937b7@quip.cz> From: Gleb Popov Date: Thu, 28 Oct 2021 20:22:00 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Deprecating smbfs(5) and removing it before FreeBSD 14 To: Miroslav Lachman <000.fbsd@quip.cz> Cc: FreeBSD Current , freebsd-stable stable Content-Type: multipart/alternative; boundary="0000000000005cc94d05cf6cf465" X-Rspamd-Queue-Id: 4HgC6r3Wsdz3nSj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --0000000000005cc94d05cf6cf465 Content-Type: text/plain; charset="UTF-8" On Thu, Oct 28, 2021 at 6:39 PM Miroslav Lachman <000.fbsd@quip.cz> wrote: > I am working for one company where smbfs is heavily used to connect > Windows / MacOS / Linux / FreeBSD (12.2) machines and we are really sad > that FreeBSD's mount_smbfs does not support SMBv2 / SMBv3 protocols (so > we are using SMBv1 with all the risk). I tried fusefs alternatives from > the ports tree in the past but it never worked as is needed. From our > point of view smbnetfs cannot replace mount_smbfs. > I cannot found any good examples of how to configure it to mount about > 20 shares from /etc/fstab on boot as user root from different hosts with > different login, passwords and mount options to defined mount points. > Everything seems to be very differently designed to work for non-root > user with configuration in users home, not system wide and mounting in > some strange hierarchy. (and bad performance was cited by many on other > platforms too) > It was discussed in the past in some other FreeBSD mailinglist that it > is not so easy to implement SMBv2 in to mount_smbfs. But is there any > possibility to make it as some sponsored work? What about FreeBSD > Foundation? There were some paid projects in the past. Or some other > bounty program. Is there anybody who have the skill to implement it if > there is good amount of $? > > If I am "well informed" FreeBSD is the only widely used OS not > supporting SMBv2. (MacOS, Linux, Solaris have it supported) > I will be really glad "if somebody can fix it" in the base. > > (or at least document how to use smbnetfs the way mount_smbfs is used) > > Kind regards > Miroslav Lachman > > I'm also aware of a local company that actively uses smbfs. Removing it would probably cause them to switch to Linux, which is a pity. --0000000000005cc94d05cf6cf465--