lincoln.quadros
(usa Debian)
Enviado em 20/05/2010 - 12:40h
[global]
#*********Executa uma ação quando o Samba Trava:
panic action = /usr/share/samba/panic-action %d
#*********Nome do Grupo de Trabalho
workgroup = becker
#*********Descrição ou comentario
server string = servidor (C + E %v)
interfaces = lo eth1
bind interfaces only = true
guest account = nobody
invalid users = root
#**********Arquivo de log
log file = /var/log/samba/log.%m
#Define o tamanho dos arquivos de log
max log size = 1000
syslog = 0
log level = 3 #Depois
#**********Requisita usuario e senha
security = user
encrypt passwords = true
#passdb backend = smbpasswd guest
passdb backend = tdbsam
obey pam restrictions = yes
username map = /etc/samba/smbusers #Depois
#**********Agilizar o sistema
socket options = TCP_NODELAY
S0_RCVBUF=8192 SO_SNDBUF=8192
#**********Servidor Principal
local master = yes
os level = 600 #estava 99
domain master = no
preferred master = yes
dns proxy = no
wins support = yes #Acrecentei depois
wins proxy = yes #Depois
dns proxy = yes #Depois
passwd program = /usr/bin/passwd %u
passwd chat = *insirasUmasNovasSenha:* %n *RedigitesAsSenha:* %n
#**********Recycler
recycle:maxsize = 100000000
recycle:repository = .recycle
recycle:noversion = .doc|.xls|.ppt|.dwg|.docx|.xlsx|.pptx
recycle:versions = true
recycle:touch = true
recycle:keeptree = true
recycle:exclude = *.tmp *.temp *.o *.obj ~$*
create mask = 0777
directory mask = 0777
vfs objects = recycle
#unix charset = UTF8
#unix charset = iso8859-1
#display charset = cp850
#client code Page = 850
#character set = ISO0859 -1
#dos charset = CP850
#***********Compartilhamento
[homes]
comment = Home Directories
read only = no
browseable = no
[Publico]
path = /compartilhamento/compartilhamento/publico
force group = becker
read only = no
force create mode = 0777
force directory mode = 0777
guest ok = yes
[financeiro]
path = /compartilhamento/compartilhamento/financeiro
browseable = yes
writable = yes
valid users = @financeiro
write list = @financeiro
public = no
force group = financeiro
read only = no
force create mode = 0777
force directory mode = 0777
[Gestores]
path = /compartilhamento/compartilhamento/gestores
browseable = yes
writable = yes
valid users = @gestores
write list = @gestores
public = no
force group = gestores
read only = no
force create mode = 0777
force directory mode = 0777
[produção]
path = /compartilhamento/compartilhamento/producao
browseable = yes
writable = yes
valid users = @financeiro,@producao
write list = @producao,@financeiro
public = no
force group = producao
read only = no
force create mode = 0777
force directory mode = 0777
[arquitetura]
path = /compartilhamento/compartilhamento/arquitetura
browseable = yes