Enviado em 18/10/2012 - 15:38h
Fala galera, beleza?
[global]
admin users = joaopaulo
invalid users = root
netbios name = servidor
server string = servidor
workgroup = imais
domain master = yes
domain logons = yes
logon script = /etc/samba/netlogon/netlogon.bat
logon path = \\servidor\dados\profiles\%u
logon home = \\servidor\dados\%U
logon drive = K:
socket options = TCP_NODELAY SO_SNBFUC=8192 SO_RCVBUF=8192
null passwords = no
passwd program = /usr/bin/passwd %u
passwd chat = "*New*UNIX*password*" %n\n "*Retype*new*UNIX*password*" %n\n" *passwd:*all*authentication*tokens*updated*successfully*"
unix charset = iso8859-1
display charset = cp850
security = user
encrypt passwords = yes
preferred master = yes
local master = yes
os level = 100
load printers = no
vfs objects = recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:reposiroty = /dados/trash/%U
recycle:exclude = *.tmp, *.log, *.obj, *.bak, *.iso
recycle:exclude_dir = tmp, cache
[netlogon]
comment = Servico de Logon
path = /etc/samba/netlogon
browseable = no
guest ok = yes
[profiles]
path = /dados/profiles
read only = no
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[Publico]
path = /dados/publico
browseable = yes
writable = yes
public = yes
guest ok = yes
create mask = 0777
directory mask = 0777
vfs objects = recycle
[Administrativo]
path = /dados/administrativo
browseable = yes
writable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
vfs objects = recycle
valid users = @administradores @administrativo
[Financeiro]
path = /dados/financeiro
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777
vfs objects = recycle
valid users = @administradores @administrativo
[Marketing]
path = /dados/marketing
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777
vfs objects = recycle
valid users = @administradores @marketing
[Projetos]
path = /dados/projetos
browseable = yes
writable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
vfs objects = recycle
valid users = @administradores @projetos
[Estudos Tecnicos]
path = /dados/etecnicos
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777
vfs objects = recycle
valid users = @administradores @etecnicos
[Treinamentos]
path = /dados/treinamentos
browseable = yes
writable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
vfs objects = recycle
valid users = @administradores @treinamentos
[Restrito]
path = /dados/restrito
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777
vfs objects = recycle
valid users = joaopaulo