LJ Archive

Listing 3. smb.conf File

;========== Global Settings ==========
; Comments start with semi-colon
[global]
   workgroup = WORKGROUP
   comment = Red Hat Samba Server
   volume = Red Hat5
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   log file = /var/log/samba-log.%m
   max log size = 50
   short preserve case = yes
   preserve case = yes
   lock directory = /var/lock/samba
   locking = yes
   strict locking = yes
   share modes = yes
   security = user
   wins support = yes
   dns proxy= no
;========== Share Declarations ========
[homes]
   comment = Home Directories
   browseable = no
   read only = no
   preserve case = yes
   short preserve case = yes
   create mode = 0750
; NOTE: There is NO need to specifically define
; each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   printable = yes
; Set public = yes to allow user 'guest account'
   to print
   public = no
   writable = no
   create mode = 0700
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
   username=easwaran
; A private directory, usable only by fred. Note that
; fred requires write access to the directory.
[easdir]
   comment = Eas Service
   path = /home/easwaran/samba
   valid users = easwaran
   public = no
   writable = yes
   printable = no
[cdrom]
   comment = CD Drive
   path = /mnt/cdrom
   valid users = easwaran
   public =yes
LJ Archive