[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
netbios name = CentOS for WorkGroup
log file = /var/log/samba/log.%m
max log size = 50
security = user
map to guest = bad user
dns proxy = no
; passdb backend = tdbsam
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
[public]
comment = Share Storage
path = /mnt/public
public = yes
writable = yes
printable = no
guest ok = yes
read only = no
[secured]
comment = secured storage
path = /mnt/secured
valid users = @smbgrp
guest ok = no
writable = yes
browsable = yes
printable = no
[nopasswd]
comment = Share Storage
path = /mnt/shared/nopasswd/
public = yes
writable = yes
printable = no
guest ok = yes
read only = no