# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors. 
#
#======================= Global Settings =====================================
[global]
  netbios name = David
  workgroup = WORKGROUP
  server string = David

  wins support = true
  dns proxy = no
  hosts allow = 192.168.1.
  security = user
  map to guest = Bad User
  default service = global
  #server signing = mandatory ; Doesn't seem to work on OSX

  #log level = 2
  log file = /var/log/samba/%m.log
  max log size = 50

  public = yes
  available = yes
  browseable = yes
  only guest = yes
  read only = yes


; Disable printers
  load printers = no
  printing = bsd
  printcap name = /dev/null
  show add printer wizard = no
  disable spoolss = yes
#============================ Share Definitions ==============================
[ftp]
  comment = Public Stuff
  path = /var/ftp/public
  read only = no
  directory mask = 5777
  create mask = 5677