by Thomas F. Christensen

Packages you need:
sudo apt install cifs-utils
sudo apt install smbclient

Manually mount to test if it is working:
Create a folder you can mount to
sudo mkdir /mnt/Share
sudo mount -t cifs -o username=administrator // /mnt/Share/

Run the following command to see if the share mounted:
mount -a

Auto mount SMB 3.0 share:
Create a file in /home/yourusername/
sudo nano /home/yourusername/.smbcredentials
and add the following

add the following to /etc/fstab

//remote_server_ip/Share /mnt/Share cifs credentials=/home/yourshareusername/.smbcredentials,iocharset=utf8,sec=ntlmv2,vers=3.0 0 0

now run the following command it should run without errors
mount -a

Thats it your done!

September 22nd, 2019

Posted In: Ubuntu, Uncategorized

Leave a Comment