[cifs-protocol] SMB2 mixed lock & unlock requests in a single SMB_LOCK request

2009-11-30 Thread Steven Danneman
Hello, I've come across another SMB2 locking issue that I can't find explicit documentation for in MS-SMB2 (v18.0). My first question, is whether a single SMB_LOCK request can contain both unlock and lock requests as the LockingAndX command type in SMBv1 could? The MS-SMB2 document hints th

Re: [cifs-protocol] SMB2 mixed lock & unlock requests in a single SMB_LOCK request

2009-11-30 Thread Sebastian Canevari
Hi Steven, Thank you for your email. Someone from my team will be working with you and will be contacting you tomorrow. Thanks and regards, Sebastian Canevari Senior Support Escalation Engineer, US-CSS DSC PROTOCOL TEAM 7100 N Hwy 161, Irving, TX - 75039 "Las Colinas - LC2" Tel: +1 469 775 7

Re: [cifs-protocol] SMB2 mixed lock & unlock requests in a single SMB_LOCK request

2009-12-02 Thread Hongwei Sun
Steven, I completed the investigation on the behavior described in your e-mail. It is a normal behavior that has been documented in the MS-SMB2 document. The following is the explanation: The server processing logic is described in details in "3.3.5.14 Receiving an SMB2 Lock Req

Re: [cifs-protocol] SMB2 mixed lock & unlock requests in a single SMB_LOCK request

2009-12-02 Thread Steven Danneman
Hongwei, I see the behavior clearly specified in MS-SMB2 3.3.5.14.1. Thanks for your help! -Steven From: Hongwei Sun [mailto:hongw...@microsoft.com] Sent: Wednesday, December 02, 2009 3:33 PM To: Steven Danneman; cifs-proto...@samba.org; p...@tridgell.net Subject: RE: SMB2 mixed lock