Samba ***** Links ===== - `Setting up File Sharing Between Windows, Linux, and Macs with Samba`_ - `Quick and dirty Samba setup`_ - `Samba - Network Bridge across Linux and Windows`_ Install ======= I had complete success following the tutorial at `Setting up File Sharing Between Windows, Linux, and Macs with Samba`_ The following will create a simple shared folder which anyone can read or write to: :: sudo apt-get install samba Configuration ------------- - Create a folder for sharing: :: mkdir ~/repo/shared/ chmod 777 ~/repo/shared/ - Make a copy of the Samba config: :: sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.original - I changed the ``smb.conf`` file as follows: In the ``global`` section, I set the name of the workgroup (this didn't match the name of the workgroup on the Windows workstation): :: [global] workgroup = myworkgroup At the bottom of the file, I created my share: :: [repo] guest ok = yes path = /home/patrick/repo/shared read only = no In the ``Authentication`` section I un-commented ``security`` and changed ``user`` to ``share``: :: security = share - Re-start the service: :: sudo /etc/init.d/smbd restart Note: For GUI configuration you could try ``GADMIN-SAMBA``. It is horrendously complicated and I don't understand it... but seems to work better than the Ubuntu one! Usage ===== In Windows Explorer browse to the IP address of your server, followed by the folder name e.g: :: \\192.168.1.3\repo .. _`Quick and dirty Samba setup`: http://www.linux.com/article.pl?sid=06/11/20/207251 .. _`Samba - Network Bridge across Linux and Windows`: http://www.atoztoa.com/2009/02/samba-network-bridge-across-linux-and.html .. _`Setting up File Sharing Between Windows, Linux, and Macs with Samba`: http://www.youtube.com/watch?v=deb2jRm3c7g