Re: Deprecating smbfs(5) and removing it before FreeBSD 14

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Thu, 28 Oct 2021 17:22:00 UTC
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.