How do I mount SMB2 (or SMB3) shares?


#1

I’d like to mount SMB2-compatible share on TrueOS. mount_smbfs(8) does not seem to work in my case. It returns:

mount_smbfs: unable to open connection: syserr = RPC struct is bad

if I run mount /mnt after adding the following to /etc/fstab:

//myuser@shareserver/projects /mnt smbfs   -N,-Ishareserver,rw,noauto    0       0

#2

quick web search

http://freebsd.1045724.x6.nabble.com/mounting-CIFS-share-tcp-455-with-FreeBSD-and-mount-smbfs-8-td6080858.html


#3
I believe if the OP can connect to the share with smbclient, he will
be able to sysutils/fusefs-smbnetfs
John
groenveld@acm.org

#4

I haven’t found a way to mount SMB2 or SMB3 however if you are trying to mount FreeNAS smb share.
You can enable SMB1 which is less secure, but still allows you to mount the share.
There is a work around at https://www.ixsystems.com/blog/library/freenas-11-1-u6/