Enviado em 12/11/2018 - 12:35h
Boa tarde caros amigos.#======================= Global Settings =====================================
[global]
netbios name = fileserver
worgroup = WORKGROUP
server string = Servidor de Arquivos
vfs objects = recycle, full_audit
recycle:keeptree = yes
recycle:versions = yes
recycle:noversions = .doc|.sxw|.odt|.docx|.pptx|.xlsx|.xls|.sxc|.ods|.ppt|.sxi|.odp|.pdf|.php|.csp|.html|.css|.js|.txt|.exe|.rar|.zip|.bmp|.jpg|.jpeg|.gif
recycle:repository = /var/samba/lixeira/%U
recycle:exclude = *.tmp, *.log, *.obj, *.bak, *.iso
recycle:exclude_dir = tmp, cache
log level = 1
log file = /var/log/samba.log
max log size = 1000
full_audit:success = open, opendir, write, unlink, rename, mkdir, rmdir, chmod, chown, sys_acl_delete_def_file
full_audit:prefix = %u|%I|%S
full_audit:failure = none
full_audit:facility = local5
full_audit:priority = notice
[Publica]
comment = Pasta publica
path = /home/publica
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[map]
comment = Pasta publica
path = /home/publica
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[micro1]
comment = Pasta publica
path = /home/micro1
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[micro2]
comment = Pasta publica
path = /home/micro2
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[micro3]
comment = Pasta publica
path = /home/micro3
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[micro4]
comment = Pasta publica
path = /home/micro4
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[micro5]
comment = Pasta publica
path = /home/micro5
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[micro6]
comment = Pasta publica
path = /home/micro6
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[serverwin]
comment = Pasta publica
path = /home/serverwin
writable = yes
valid users =
available = yes
browseable = yes
read only = no
[Lixeira]
path = /var/samba/lixeira/%U
writable = yes