oplock break notifications
dolze at epcnet.de
dolze at epcnet.de
Sat Aug 25 09:54:58 GMT 2001
Hi,
i use smbfs to connect to a samba share. if i have an oplocked file open and open this file a second time i get an oplock break notification. Is it a bug or a feature, that the oplock break notification has a PID of 65535 ? I read the CIFS spec, but don't found anything about setting PID to 65535.
Here's an output of smb-tcpdump:
SMB PACKET: SMBopenX (REQUEST)
SMB Command = 0x2D
Error class = 0x0
Error code = 0
Flags1 = 0x68
Flags2 = 0x3
Tree ID = 1
Proc ID = 593
UID = 100
MID = 1
Word Count = 15
smbvwv[]=
Com2=0xFF
Off2=0
Flags=0x6
Mode=0x42
SearchAttrib=HIDDEN SYSTEM
Attrib=
Time=NULL
OFun=0x1
Size=0
TimeOut=0
Res=0x0
smbbuf[]=
Path=
SMB PACKET: SMBlockingX (REQUEST)
SMB Command = 0x24
Error class = 0x0
Error code = 0
Flags1 = 0x0
Flags2 = 0x0
Tree ID = 1
Proc ID = 65535
UID = 0
MID = 65535
Word Count = 8
smbvwv[]=
Com2=0xFF
Off2=0
Handle=8294
LockType=0x2
TimeOut=0
UnlockCount=0
LockCount=0
smbbuf[]=
Process=
More information about the samba-technical
mailing list