2.2-alpha-cvs & Share Modes Support?

Chen Shiyuan csy at hjc.edu.sg
Thu Jan 11 05:08:01 GMT 2001


Hello!

I am currently running samba-2.0.7 and samba-2.2-alpha-cvs (cvs versions 
updated daily since 2.2alpha1 was released) with identical smb.conf file.

When I run smbstatus on the two different machines, the following 
screens are shown :-

SAMBA-2.2.0cvs
==============
Samba version 2.2.0-alpha1
Service      uid      gid      pid     machine
----------------------------------------------

No locked files


SAMBA-2.0.7
===========
Samba version 2.0.7
Service      uid      gid      pid     machine
----------------------------------------------

No locked files

Share mode memory usage (bytes):
   1048464(99%) free + 56(0%) used + 56(0%) overhead = 1048576(100%) 
total


Samba-2.2.0cvs is compiled with the following :-

./configure --prefix=/usr --libdir=/etc --with-lockdir=/var/lock/samba --
with-swatdir=/usr/share/swat --localstatedir=/var/log/samba --with-
smbmount --with-pam

Does anyone know how come under 2.2.0cvs the Share mode memory usage 
lines do not appear? Is it just that they don't appear anymore or does 
it imply that share modes is not working on the machine?

Also, previously I used share modes = no on some readonly shares and 
when I run smbstatus on 2.0.7 , the applications and files on the "share 
modes = no" shares are not listed as locked when people access them but 
under 2.2.0cvs, they appear similar to those shares which I set share 
modes = yes .

SAMBA-2.2.0cvs
==============
Locked files:
Pid    DenyMode   R/W        Oplock           Name
--------------------------------------------------
EXCLUSIVE+BATCH  /Apps/Netscape/Commu
nicator/Program/Plugins/npswf32.dll   Thu Jan 11 13:01:24 2001
17454  DENY_WRITE RDONLY
NONE             /Apps/Netscape/Commu
nicator/Program/js3240.dll   Thu Jan 11 12:55:23 2001
8236   DENY_WRITE RDONLY
NONE             /Apps/Netscape/Commu
nicator/Program/js3240.dll   Thu Jan 11 12:41:04 2001
17454  DENY_WRITE RDONLY
NONE             /Apps/Netscape/Commu
nicator/Program/unicvt32.dll   Thu Jan 11 12:55:23 2001
8236   DENY_WRITE RDONLY

SAMBA-2.2.0cvs
==============

No locked files



And also in my log.smbd on the 2.2.0cvs machine, I get alot of the 
following lines and occasionally new users cannot login and run 
applications properly as all the files are "locked up" and I have to 
manually restart smbd before users will be able to login and access just 
fine.

[2001/01/11 10:26:27, 0] smbd/oplock.c:oplock_break(767)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file 
Apps/Netscape/Communicator/Program/pr3240.dll
 (dev = a, inode = 375548).
[2001/01/11 10:26:27, 0] smbd/oplock.c:oplock_break(840)
  oplock_break: client failure in oplock break in file 
Apps/Netscape/Communi
cator/Program/pr3240.dll
[2001/01/11 10:26:57, 0] smbd/oplock.c:oplock_break(767)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file 
Apps/Netscape/Communicator/Program/jrt3240.dl
l (dev = a, inode = 375527).



Does anyone have any idea what is going on? Any help will be greatly 
appreciated.

Many thanks in advance!




More information about the samba mailing list