Compartir a través de


3.2.5.3 Receiving an SMB2 SESSION_SETUP Response

The client MUST attempt to locate a session in Connection.SessionTable by using the SessionId in the SMB2 header of the SMB2 SESSION_SETUP Response.

If a session is not located, this response MUST be handled as a new authentication, as specified in section 3.2.5.3.1.

If a session is located:

  • If Session.Connection matches the connection on which this response is received, this response MUST be handled as a reauthentication, as specified in section 3.2.5.3.2.

  • If Connection.Dialect belongs to the SMB 3.x dialect family, and if there is no Channel in Session.ChannelList where the Channel.Connection matches the connection on which this response is received, this response MUST be handled as a session binding, as specified in section 3.2.5.3.3.