Just one other thought to add onto Darko's great directions. If you don't want to have your username and password in /etc/fstab, you can create a file that contains them and make it only readable by root.
Code:
nano /root/.smbcredentials
Put your username and password in that file like this.
Code:
username=myusername
password=mypassword
chmod the file like this
Code:
chmod 700 /root/.smbcredentials
Finally, slightly modify the /etc/fstab line that Darkod gave you.
Code:
//serverIP/sharename /mountpoint cifs _netdev,credentials=/root/.smbcredentials 0 0
Bookmarks