SMBv1 Deprecation / SMBv2 support in FreeBSD

Martin Simmons martin at lispworks.com
Thu Dec 19 16:47:47 UTC 2019


>>>>> On Thu, 19 Dec 2019 00:12:00 +0100, Miroslav Lachman said:
> 
> I would like to resurrect this old thread from 2017-06 as I have the 
> need to use mount_smbfs on FreeBSD but this old implementation (still) 
> lacks support for SMB2/3.
> 
> I am not a developer so I cannot do any coding work. I would like to 
> know if somebody tried to add support for SMBv2 to FreeBSD? Is it really 
> hard to extend it to support SMB2? Or should it be implemented from scratch?
> I tried to find more on this topic in mailing lists and FreeBSD forums 
> without much success. I found that Apple open source has it. For example
> https://opensource.apple.com/source/smb/smb-759.40.1/kernel/smbfs/smbfs_smb_2.c.auto.html
> I know Apple kernel is too different but anyway - can it be ported to 
> FreeBSD in some way?
> 
> It is very sad that FreeBSD is so far behind competitors in some network 
> service where FreeBSD was very strong in the past.
> 
> CIFS/SMB2 is the only option in some heterogenous environments.

Have you tried using sysutils/fusefs-smbnetfs?  I don't know how fast it is,
but I think FreeBSD's FUSE has improved since that thread started.

__Martin


More information about the freebsd-fs mailing list