Reports on oplocks for new Samba 2.0.6?

Paulo Afonso Graner Fessel pafessel at netsol.com.br
Fri Nov 12 14:24:20 GMT 1999


	Hello, people.

	I'm going thru strange problems with Samba running on a Red Hat Linux 6.0
System after moving our file services from Novell Netware to Linux Samba.
AFAIK, the problem is the known "oplocks error" shown in some Samba
installations and already commented in this list.

	When I've known about the new Samba version, I've looked into the
WHATSNEW.txt and it states that the smbd no longer stops but instead logs
an error message and continues processing normally. I've installed 2.0.6
yesterday in my office, and in the tests I've performed with my workstation
- open and save huge Office documents - everything went fine, even when I
physically brake the connection between my computer and our switch. 

	Today in the morning, my users begun to log on the network, and few
moments later I've got the same scenario of yesterday: stations losing
connections and starting a bunch of unkillable smbd's on my server - and
now I'm running Samba 2.0.6, in two versions: the one I've compiled
yesterday and the binary distribution for RedHat 6.0. Also, I'm getting
Redirector alerts ("Redirector timed out...") in my NT Workstations
affected by the problem.

	The new server has shares for:

	* General users' files: the problems here normally happen when I try to
save MS Office application files on the network; 

	* CLIPPER application files, that are kept on the server and run on the
workstations. These applications open a lot of files in the file server,
and sometimes this share also gets stuck.

	By now, I don't believe that the problem is in Samba software. My
suspections now are turned to the 3Com Switch 1000 of our network, as
problems started to became very bad when I've connected the Samba server to
it. I'm not sure anyway; thus, I'd like to know from you what problems
you've had with oplocks (if any) and what you've done to solve it (upgrade,
setup, etc...) 

	Also, I'm attaching my smb.conf just in case...

	My setup:

	* RH Linux 6.0 with custom-compiled kernel 2.2.13 with e2comp;
	* Samba 2.0.6, latest binary distribution;
	* WinNT WKStations with SP4; mixed Win9x environment (4.0.950, 4.0.950a,
OSR2...)

	I'd really like some suggestions on this, because my users are starting to
get angry (with a real motive) and I'm starting to receive requests to go
back to Novell. Please help!

	TIA,

	Paulo Fessel
-------------- next part --------------
# Samba config file created using SWAT
# from 192.168.1.62 (192.168.1.62)
# Date: 1999/11/12 09:15:41

# Global parameters
[global]
	workgroup = NETSOLUTIONS
	server string = Servidor de Arquivos Red Hat Linux 6.0
	encrypt passwords = Yes
	update encrypted = Yes
	passwd program = /bin/echo %u:%n | /usr/sbin/chpasswd
	passwd chat = .
	username map = /etc/users.map
	unix password sync = Yes
	log level = 0
	log file = /var/log/samba/log.%m
	max log size = 512
	load printers = No
	logon path = \\%N\profiles\%U
	logon drive = H:
	domain logons = Yes
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	create mask = 0640
	directory mask = 0750
	hosts allow = localhost, 192.168.1.
	print command = lpr -P%p %s; rm %s
	wide links = No

[homes]
	comment = Diret?rios pessoais dos usu?rios
	path = /home/%u
	read only = No
	create mask = 0660
	browseable = No

[cdrom]
	path = /mnt/cdrom

[netlogon]
	path = /etc/netlogon
	read only = No
	browseable = No

[profiles]
	comment = Perfis ambulantes dos Usuarios
	path = /home/profiles
	read only = No
	create mask = 0600
	directory mask = 0700
	browseable = No

[tecnologia]
	comment = Diret?rio compartilhado - Departamento de Tecnologia
	path = /home/tecno/TECNO
	read only = No
	create mask = 0660
	directory mask = 0770

[PRINTER$]
	path = /etc/printer

[sistemas]
	path = /home/sistemas
	read only = No
	create mask = 0660
	directory mask = 0770

[filialrj]
	comment = Diret?rio de Trabalho - Filial RJ
	path = /home/laierte
	write list = @filialrj
	create mask = 0660
	directory mask = 0770

[historico]
	comment = Arquivos de ex-funcionarios, a verificar
	path = /home/historico
	create mask = 0660
	directory mask = 0770

[listapre]
	comment = Precos em geral
	path = /home/precos
	write list = @listapre
	create mask = 0660
	directory mask = 0770

[services]
	comment = Diretorio de Servicos
	path = /home/servicos
	valid users = @servicos
	write list = @servicos
	create mask = 0660
	directory mask = 0770

[comerc]
	comment = Diretorios Comerciais Gerais
	path = /home/comerc
	valid users = @comerc
	write list = @comerc
	create mask = 0660
	directory mask = 0770

[panorama]
	comment = Diretorio "Panoramico" para possibilitar troca de arquivos
	path = /home
	valid users = @business
	write list = @business
	create mask = 0660
	directory mask = 0770

[lp_comerc]
	path = /var/spool/samba
	print ok = Yes


More information about the samba-technical mailing list