Samba Source Code is available online or through services such as Portage or Apt-get. Visit Samba.org to obtatin a list of ftp/http mirrors.
sudo apt-get install samba