Great!
Just a quick question, did you have to add any firewall rules at all? And a couple of notes:
-
You can obviously use whatever location you want other than
~/Videos/remote
. -
This process works for the current session meaning that you'll have to re-do it on every reboot. If you prefer to have it done automatically when you power the computer:
A. Create a new file called something like
smb.cred
and include the Windows hostname, username and optionally user password in the following format:domain= username= password=
B. Save the file and place it in a secure location such as
/etc/samba
. Make sure you also assign ownership to the root user with proper permissions by running:sudo chmod 600 /etc/samba/smb.cred
C. Add the following entry at the end of the
/etc/fstab
file. You will need root privileges to edit this file, but this command should do it as well://<windows_hostname>/<path_to_share> /home/<your_username>/Videos/remote cifs credentials=/etc/samba/smb.cred 0 0
Again replacing the details for your network host. Note also that this time you must specify the full path to where you want to mount this file.
Is important that this mounting location already exists in the system. If you accidentally use a location that contains files they will not be available, but don't worry, they won't be deleted. All you need to do is unmount this drive to access them again.