smb.conf.template   [plain text]

; Template configuration file for smbd.
; ============================================================================
; For the format of this file and comprehensive descriptions of all the
; configuration option, please refer to the man page for smb.conf(5).
; The following configuration should suit most systems for basic usage and 
; initial testing. It gives all clients access to their home directories and
; allows access to all printers specified in /etc/printcap.  It also provides
; a public share point for generally exporting stuff.
; Some things to check out:
; 1: Make sure that the user specified in "guest account" exists. Typically
;    this will be a user that cannot log in and has minimal privileges.
;    Often the "nobody" account doesn't work (very system dependant).
; 2: You should consider the "security =" option. See a full description
;    in the main documentation and the smb.conf(5) manual page
; 3: Look at the "hosts allow" option, unless you want everyone on the internet
;    to be able to access the shares you export here.
; 4: If you want to support printers, add/uncomment the relevant entries.
  guest account = unknown
  encrypt passwords = yes
  auth methods = guest plugin:/usr/lib/samba/auth/
  printer admin = @admin, @staff

   comment = User Home Directories
   browseable = no
   read only = no

;   path = /tmp
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

  path = /var/spool/samba
  printable = yes