Enviado em 18/12/2013 - 23:10h
Oi amig@s boa noite, tenho visto alguns smb.conf aqui na comunidade, será que alguém poderia
[global]
workgroup = xxxxxx
domain master = yes
preferred master = yes
server string = %h server
netbios name = %h
local master = yes
domain logons = yes
# domain admin group = god
# passdb backend = tdbsam
log file = /usr/local/samba/log.%m
max log size = 1000
logon script = %U.bat
#Perfil Movel >> descomentar duas linhas a baixo
# logon home = \\%L\%U\.profiles
# logon path = \\%L\profiles\%U
#Perfil local
logon home =
logon path =
# read raw = yes
# write raw = yes
# unix charset = UTF-8
logon drive = z:
security = user
encrypt passwords = true
os level = 100
preserve case = no
default case = lower
wins support = yes
socket options = TCP_NODELAY
unix charset = iso8859-1
display charset = cp850
username map = /etc/samba/smbusers
#lixeira
;recyclebin options
vfs objects = recycle
recycle:exclude = *.tmp *.temp *.o *.obj ~$*
recycle:keeptree = True
recycle:touch = True
recycle:versions = True
recycle:noversions = .doc|.xls|.ppt
recycle:repository = /mnt/lixeira/samba/%U
recycle:maxsize = 10000000
create mask = 0777
directory mask = 0777
[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0700
directory mask = 0700
valid users = %U
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[netlogon]
comment = Servico de logon
path = /etc/netlogon
guest ok = yes
browseable = no
[Arquivos]
comment = Share path to Usuarios
path = /mnt/arquivos/projetos
valid users = @arq
writable = yes
create mask = 0770
directory mask = 0770
browseable = yes