How do I mount SMB2 (or SMB3) shares?


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


quick web search

I believe if the OP can connect to the share with smbclient, he will
be able to sysutils/fusefs-smbnetfs


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