[cifs-protocol] session logoff request / response clarification

Shirish Pargaonkar shirishpargaonkar at gmail.com
Tue Oct 8 18:52:55 MDT 2013


---
Would like to have a clarification in MS-SMB2 document about the

1) Types of error a server can return in response to a session logoff
   request from a client (section 2.2.8).

2) The state of the session and expected client behaviour when a server
   returns an error to a session logoff request.
   Specifically, does the client behaviour stated in section 3.2.5.4
   (Receiving an SMB2 LOGOFF Response) apply in case of an error as well?

3) There is no verbiage about server behaviour if the signature verification
   fails the way it is described for client behaviour if the signature
   verification fails in section 3.2.5.1.3.
   In the context of session logoff request, if the signature does not match,
   what is the correct/expected server behaviour?
   Right now, in SMB3 dialect, Windows 8 server returns a response with an
   error (access denied) for a missing/mismatched signature.  Is that correct
   or should a server discard the request and do no further processing for it?

---
MS-CIFS document lists the types of error a server may return in response
to a session logoff request (section 2.2.4.54.2) but it does not state the
state of the smb session and expected client behaviour in case of
an error received in logoff response in section 3.2.5.1.
In case of signature mismatch in the context of session logoff request,
Windows 8 server for smb1 dialect, behaves in a similar way as above (smb3).


More information about the cifs-protocol mailing list