Bug 240459

Summary: mount_smbfs man page should say that it only supports SMB1
Product: Documentation Reporter: Sean McBride <sean>
Component: DocumentationAssignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Many People CC: 0mp, bcr
Priority: --- Flags: 0mp: mfc-stable12?
0mp: mfc-stable11?
Version: Latest   
Hardware: Any   
OS: Any   

Description Sean McBride 2019-09-09 20:13:59 UTC
FreeBSD's mount_smbfs apparently supports only SMB1 and no newer version of the protocol.

By now (2019) SMB1 is horribly insecure and disabled by default on Windows, macOS, FreeNAS, etc.

As such, mount_smbfs is basically useless as it can't connect to any properly maintained server.  I can only assume mount_smbfs has no maintainer.  :(


Anyway, can the man page at least be updated to say that it only supports SMB1 ?  Hopefully that will save people like me time determining why they can't connect to anything.
Comment 1 Mateusz Piotrowski freebsd_committer 2019-09-10 14:21:30 UTC
This has been recently documented in 13.0-CURRENT: https://svnweb.freebsd.org/base?view=revision&revision=339990

Maybe we could MFC that.
Comment 2 Benedict Reuschling freebsd_committer 2019-12-09 07:40:37 UTC
What is the status of the MFC? If we decide not to MFC it, I think we can close this PR.
Comment 3 Sean McBride 2020-03-05 16:48:42 UTC
Pardon my ignorance, but what is MFC?
Comment 4 Mateusz Piotrowski freebsd_committer 2020-03-05 17:15:01 UTC
MFC means merging from the CURRENT branch to STABLE branches.

Benedict, I'll submit a diff to phabricator in a couple of days.
Comment 5 Mateusz Piotrowski freebsd_committer 2020-03-05 17:31:27 UTC
https://reviews.freebsd.org/D23976
Comment 6 Sean McBride 2020-03-05 17:38:52 UTC
So is mount_smbfs basically abandonware?  Looking through your doc change, I searched ports, and I guess samba is the thing to install?
Comment 7 Mateusz Piotrowski freebsd_committer 2020-03-05 17:49:25 UTC
(In reply to Sean McBride from comment #6)

I've summed up what I know in this wiki article:
https://wiki.freebsd.org/MateuszPiotrowski/AccessingSmbSharesWithSambaClient

Yes, mount_smbfs is somewhat outdated.
Comment 8 Mateusz Piotrowski freebsd_committer 2020-03-12 20:03:05 UTC
MFC'd into 12-STABLE in r358917.