Ubuntu and windows file sharing is covered on so many web sites in great detail – searching for ubuntu Samba file sharing mount windows share etc will get many links
http://ubuntuforums.org/showthread.php?t=280473
http://ubuntuguide.org/wiki/Ubuntu:Feisty
http://doc.gwos.org/index.php/Share_files_using_Samba
http://ubuntuforums.org/showthread.php?t=202605
https://help.ubuntu.com/ubuntu/serverguide/C/configuring-samba.html#windows-networking-clients
All I want to do is mount a windows shared folder on my ubuntu box and access the files; I am not worried about mounting during boot up and not sharing any files from ubuntu.
- install smbfs
$sudo apt-get install smbfs
- use ‘mount’ to mount the file share
- for mount you need to create a local folder that will be the mount point for example create a folder test under /media
- then mount the share using
$sudo mount -t smbfs -o username=myusername //192.168.0.10/sharename /media/test- myusername – is a valid username on the windows machine
- the ip address is the ip of the windows machine
- sharename is the name given to the share on the windows machine
- This will prompt you for the passwor d- the password for myusername on the windows machine
- on successful password you will be able to see the contents of the sharedfolder under /media/test
- Note: if you this is the first time you are using sudo in this shell session or if sudo has timed out there will be two password prompts first for the sudo next for the share mount. you could avoid this by doing
$sudo -vbefore doing the sudo mount
- to umount
$sudo umount /media/test