Samba communicates through a series of dialects. According to the TrueNAS documentation:
https://www.truenas.com/docs/hub/sharing/smb/smb1/
The samba client in Ubuntu 16.04 had the maximum smb dialect set to SMB1 ( Samba calls this NT1 ). The TrueNAS doesn't understand your request.
There are a couple of ways around this issue without enabling SMB1 on the TrueNAS:
One is a cifs mount where you can specify the smb dialect to use.
The other is through the samba client by editing /etc/samba/smb.conf and placing the following line under the workgroup = WORKGROUP line:
Code:
client max protocol = SMB3
You will need to reboot your Ubuntu machine.
The problem with this is that NetBIOS host discovery is broken so you will have to access the server and its share explicitly in your file manager. For example - in your file manager:
Code:
smb://truenas/share
Note: If you don't have a samba server set up on your Ubuntu machine you may not have an smb.conf file. You can add one by installing smbclient:
Code:
sudo apt install smbclient
Bookmarks