You first need to ssh in to your RaspberryPi and run the following command lines.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install samba samba-common-bin
Then you and to create a shared folder:
sudo mkdir -m 1777 /share
Next you want to edit Samba config file to include shared folder:
sudo nano /etc/samba/smb.conf
Insert the below settings to the bottom of the page:
Comment = Pi shared folder
Path = /share
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes
Press `ctrl` + `x` to close file and press `y` to save and hit enter.
Next you want to create a password for Samba:
sudo smbpasswd -a pi
Here it will prompt you to insert password. This is separate to you Pi login but there is no harm inserting the same password if you like.
Final you need to reboot Samba:
sudo /etc/init.d/samba restart
Now you should find that your RaspberryPi is discoverable on your next work.