Fwd: Fwd: 2.2-alpha-cvs & Share Modes Support?

Chen Shiyuan csy at hjc.edu.sg
Tue Jan 30 11:03:04 GMT 2001


Hello again!

I'm posting this for the third time. Can someone help me out on this? Is 
share modes no longer in 2.2? I tried to look through the docs that came 
via CVS and also the testparm command and they all indicated that share 
modes is still around.

But when I used smbclient, share modes doesn't appear to be in effect.

Many thanks in advance!

----- Forwarded message from Chen Shiyuan <csy at hjc.edu.sg> -----
Date: Thu, 18 Jan 2001 06:46:41 +0800 (SGT)
From: Chen Shiyuan <csy at hjc.edu.sg>
Reply-To: Chen Shiyuan <csy at hjc.edu.sg>
Subject: Fwd: 2.2-alpha-cvs & Share Modes Support?
To: samba at samba.org

Hello!

Does anyone have any ideas or suggestions as to what my problem could 
be? I have been trying to figure out how come share modes = no doesn't 
appear to be working but to no avail. I am currently using samba-2.2-
aplha-cvs-170100. A sample share declaration in my /etc/smb.conf looks 
like the following :-

[test]
   comment = testing
   path = /test
   read only = no
   share modes = no

Many thanks in advance!

----- Forwarded message from Chen Shiyuan <csy at hjc.edu.sg> -----
Date: Thu, 11 Jan 2001 13:08:01 +0800 (SGT)
From: Chen Shiyuan <csy at hjc.edu.sg>
Reply-To: Chen Shiyuan <csy at hjc.edu.sg>
Subject: 2.2-alpha-cvs & Share Modes Support?
To: samba at samba.org

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)
0  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!


----- End forwarded message -----


----- End forwarded message -----




More information about the samba mailing list