Urso_Polar
(usa Ubuntu)
Enviado em 26/11/2010 - 14:00h
Prezados, possuo dois servidores aqui na empresa: um servidor Linux com Samba (Mandriva 2008 2.6.22.19-desktop-2mdv + Samba Version 3.0.25b). O Domínio está com o outro servidor (Windows 2003 Server) e 95% das estações de trabalho são Windows XP SP3 + Office 2007 Sp2. Alguns usuários estão reclamando de lentidão ao manipular arquivos xlsx e xls nos diretórios de rede. Este é o meu smb.conf:
[global]
workgroup = ALAMO
netbios name = JUPITER
server string = Samba Server %v
printcap name = cups
load printers = yes
printing = cups
locking = no
log file = /var/log/samba/%m.log
max log size = 50
debug level = 3
security = server
password server = urano
# security = user
encrypt passwords = yes
unix password sync = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add machine script = /usr/sbin/adduser -n -r -g machines -c "Samba machine" -d /dev/null -s /bin/false %u
passdb backend = smbpasswd
unix charset = iso-8859-1
display charset = cp850
recycle:exclude = *.tmp *.temp *.o *.obj ~$*
recycle:keeptree = True
recycle:touch = True
recycle:versions = True
recycle:noversions = *.doc|*.xls|*.ppt
recycle:repository = .recycle
recycle:maxsize = 10000000
vfs objects = recycle
# veto files = /*.mp3/*.wmv/*.wma/*.ogg/
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
#============================ Share Definitions ==============================
;[homes]
; comment = Diretorio do usuario
; browseable = no
; writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /home/netlogon
; guest ok = yes
; writable = no
; share modes = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
[print$]
path = /var/lib/samba/printers
browseable = yes
write list = @adm root
guest ok = yes
inherit permissions = yes
# Settings suitable for Winbind:
# write list = @"Domain Admins" root
# force group = +@"Domain Admins"
#========================== Diretorios Compartilhados =========================#
# Diretorio publico
[Publico]
comment = Diretorio publico
path = /home/samba/Publico
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = yes
# Diretorio de softwares e drivers
[Software]
comment = Softwares e Drivers
path = /home/samba/Software
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = yes
# Diretorio restrito
[Arquivo Digital]
comment = Diretorio de acesso restrito
path = /home/samba/ArquivoDigital
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = yes
# Diretorio restrito
[Boletins]
comment = Diretorio de acesso restrito
path = /home/samba/Boletins
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov rafaelpanisset douglas luizclaudio walker kelson robson reduser fbraga fernanda
# Diretorio restrito
[Departamento Contabil]
comment = Diretorio de acesso restrito
path = /home/samba/DepartamentoContabil
force create mode = 0777
force directory mode = 0777
read only = no
create mask = 700
directory mask = 700
browseable = yes
writable = yes
public = no
valid users = paulov andre douglas kelson rafaelpanisset luizclaudio estagiario contabil-20 estagiario-02 michelle fbraga reduser
# Diretorio restrito
[Departamento Fiscal]
comment = Diretorio de acesso restrito
path = /home/samba/DepartamentoFiscal
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov walker luizhenrique fiscal2008 rafaelpanisset romulo externo munique auxiliar reduser celso luizclaudio
# Diretorio restrito
[Departamento Informatica]
comment = Diretorio de acesso restrito
path = /home/samba/DepartamentoInformatica
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov rafaelpanisset romulo externo mauricio reduser
# Diretorio restrito
[Departamento Legalizacao]
comment = Diretorio de acesso restrito
path = /home/samba/DepartamentoLegalizacao
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov legalizacao rafaelpanisset externo walker miriam rosi aline auxiliar reduser legalizacao
# Diretorio restrito
[Departamento Pessoal]
comment = Diretorio de acesso restrito
path = /home/samba/DepartamentoPessoal
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov miriam rosi aline rafaelpanisset externo auxiliar reduser
# Diretorio restrito
[Departamento Sac]
comment = Diretorio de acesso restrito
path = /home/samba/DepartamentoSac
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov fernanda kelly rafaelpanisset externo reduser
# Diretorio restrito
[Diretoria]
comment = Diretorio de acesso restrito
path = /home/samba/Diretoria
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov reduser
# Diretorio restrito
[Scansnap_pdfs]
comment = Diretorio de acesso restrito
path = /home/samba/Scansnap_pdfs
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = yes
# Diretorio restrito
[Controladoria]
comment = Diretorio de acesso restrito
path = /home/samba/Controladoria
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = rafaelpanisset paulov luizclaudio reduser
############## PASTAS DOS USUARIOS - PERFIL ##############
[Aline]
comment = Diretorio de acesso restrito
path = /media/hd3/Aline
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = aline paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Andre]
comment = Diretorio de acesso restrito
path = /media/hd3/Andre
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = andre paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Douglas]
comment = Diretorio de acesso restrito
path = /media/hd3/Douglas
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = douglas paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Fernanda]
comment = Diretorio de acesso restrito
path = /media/hd3/Fernanda
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = fernanda paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Frida]
comment = Diretorio de acesso restrito
path = /media/hd3/Frida
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = fbraga paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Kelly]
comment = Diretorio de acesso restrito
path = /media/hd3/Kelly
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = kelly paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[LuizClaudio]
comment = Diretorio de acesso restrito
path = /media/hd3/LuizClaudio
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = luizclaudio paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[LuizHenrique]
comment = Diretorio de acesso restrito
path = /media/hd3/LuizHenrique
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = luizhenrique paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Marcos]
comment = Diretorio de acesso restrito
path = /media/hd3/Marcos
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = marcos paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Mauricio]
comment = Diretorio de acesso restrito
path = /media/hd3/Mauricio
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Miriam]
comment = Diretorio de acesso restrito
path = /media/hd3/Miriam
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = miriam paulov mauricio reduser
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Paulov]
comment = Diretorio de acesso restrito
path = /media/hd3/Paulov
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = paulov mauricio
[RafaelPanisset]
comment = Diretorio de acesso restrito
path = /media/hd3/RafaelPanisset
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = rafaelpanisset paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Robson]
comment = Diretorio de acesso restrito
path = /media/hd3/Robson
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = robson paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Rosi]
comment = Diretorio de acesso restrito
path = /media/hd3/Rosi
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = rosi paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Walker]
comment = Diretorio de acesso restrito
path = /media/hd3/Walker
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = walker paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Michelle]
comment = Diretorio de acesso restrito
path = /media/hd3/Michelle
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = walker paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
[Pedro]
comment = Diretorio de acesso restrito
path = /media/hd3/Pedro
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = no
valid users = walker paulov mauricio
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.avi/*.mpg/*.flv/*.3gp/*.mpeg/*.mp4
# Diretorio restrito
;[Restrito]
; comment = Diretorio de acesso restrito
; path = /home/samba/restrito
; force create mode = 0777
; force directory mode = 0777
; browseable = yes
; writable = yes
; public = no
; valid users = eduarte reduser
# Diretorio de acesso publico somente leitura
;[Consulta]
; comment = Diretorio para consulta
; path = /home/samba/consulta
; force create mode = 0777
; force directory mode = 0777
; browseable = yes
; read only = yes
; public = yes
; write list = eduarte reduser
# Drive de dvd-rom
;[CD-ROM]
; comment = Drive de CD-Rom
; path = /mnt/cdrom
; browseable = yes
; public = yes
; max connections = 3
Não fui eu quem montou/configurou o Servidor Linux. Não tenho contato com o mesmo facilmente e nem poderia parar para re-fazer tudo do zero.. O que poderia estar causando essa lentidão? Seria problema físico? Grato!