home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Set up a SAMBA server

Are your clients Windows or Unix (Linux, Mac, etc)? If so, what about using NFS instead of Samba?

On Tue 24 Sep 2013 03:24:08 PM EDT, Paul Belanger wrote:
On Tue, Sep 24, 2013 at 3:19 PM, James, Trevor <james [ at ] telfer [ dot ] uottawa [ dot ] ca> wrote:
Anyone have a simple TID/HowTo to set up a SAMBA a secure SAMBA service to be used by only one subnet on a network.  For example only on 192.168.1,X  (wired network) but not 192.168.10.X (WiFi)


1)      Install Ubuntu 12.04 Server

2)      Install Basic Gnome Desktop (sorry I am not as experienced with command line)

3)      Create two accounts FileRead FileWrite

4)      apt-get install samba

Now this is where someone with experience comes in.


5)      Create a share directory (I would say /home/samba)

6)      Directory Rights? (chmod)

7)      Edit samba.cfg file

a.       Workgroup - SAMBA

b.      Share /home/samba

                                                               i.      FileRead - Read only

                                                             ii.      FileWrite - Read/Write

8)      Set up the IPTables

a.       Block all ports all networks

b.      Open SAMBA ports on 192.168.1.X

Have you checked out https://help.ubuntu.com/community/Samba by
chance?  I usually find the Ubuntu wiki to be a good source of
information.  I've used the server guide in the past and it has worked
well.