I have recently installed Ubuntu 20.04. Moreover, I have a share folder in windows of another computer. I have to access the share folder in Ubuntu. Therefore, I installed samba client using this command:
sudo apt install samba smbclient
I go in the browser file of Ubuntu and enter this URL to connect the share folder:
smb://X.X.X.X/shared
But, after entering name and domain, I cannot enter to the share folder. I also add this line in smb.conf:
client max protocol = NT1
Then run these command:
sudo /etc/init.d/nmbd restart
sudo /etc/init.d/smbd restart
Also, I add IP and Username of Windows Machine to the /etc/hosts file. Now when I try to connect to the share folder I receive this error:
Failed to mount windows share : invalid argument
Any help is really appreciated.