Thursday, 23 February 2012

Mount Windows Shares

1. Make sure the smbfs package is installed, if not then install it (under Debian/Ubuntu):

$ sudo apt-get install smbfs


2. Create a directory where you will mount the Windows shares:


$ sudo mkdir /media/mount_point


3. Mount the Windows shares (assuming my username is "abc123" and my password is "passwd"):


$ sudo mount -t cifs  //path_to_the_server -o username=abc123, password=paswd /media/mount_point


Note: In order to have read/write access to the files on the server, access them from your local machine as root.