Export (0) Print
Expand All

3.3.1.8 Per Session

The server implements the following:

  • Session.SessionId: A numeric value that is used as an index in GlobalSessionTable, and (transformed into a 64-bit number) is sent to clients as the SessionId in the SMB2 header.

  • Session.State: The current activity state of this session. This value MUST be either InProgress, Valid, or Expired.

  • Session.SecurityContext: The security context of the user that authenticated this session. This value MUST be in a form that allows for evaluating security descriptors within the server, as well as being passed to the underlying object store to handle security evaluation that may happen there.

  • Session.IsAnonymous: A Boolean that, if set, indicates that the session is for an anonymous user.

  • Session.IsGuest: A Boolean that, if set, indicates that the session is for a guest user.

  • Session.SessionKey: The first 16 bytes of the cryptographic key for this authenticated context. If the cryptographic key is less than 16 bytes, it is right-padded with zero bytes.

  • Session.SigningRequired: A Boolean that, if set, indicates that all of the messages for this session MUST be signed.

  • Session.OpenTable: A table of opens of files or named pipes, as specified in section 3.3.1.10, that have been opened by this authenticated session and indexed by Open.FileId. The server MUST support enumeration of all entries in the table.

  • Session.TreeConnectTable: A table of tree connects that have been established by this authenticated session to shares on this server, indexed by TreeConnect.TreeId. The server MUST allow enumeration of all entries in the table.

  • Session.ExpirationTime: A value that specifies the time after which the client must reauthenticate with the server.

  • Session.Connection: The connection on which this session was established (see also section 3.3.5.5.1).

  • Session.SessionGlobalId: A numeric 32-bit value obtained via registration with [MS-SRVS], as specified in [MS-SRVS] section 3.1.6.2.

  • Session.CreationTime: The time the session was established.

  • Session.IdleTime: The time the session processed its most recent request.

  • Session.UserName: The name of the user who established the session.

If the server implements the SMB 3.x dialect family, it MUST implement the following:

  • Session.ChannelList: A list of channels that have been established on this authenticated session, as specified in section 3.3.1.14.

  • Session.EncryptData: A Boolean that, if set, indicates that the messages on this session SHOULD be encrypted.

  • Session.EncryptionKey: A 128-bit key used for encrypting the messages sent by the server.

  • Session.DecryptionKey: A 128-bit key used for decrypting the messages received from the client.

  • Session.SigningKey: A 128 bit key used for signing the SMB2 messages.

  • Session.ApplicationKey: A 128-bit key, for the authenticated context, that is queried by the higher-layer applications.

 
Show:
© 2015 Microsoft