3.2.4 Higher-Layer Triggered Events

The SMB2 client protocol is initiated and subsequently driven by a series of higher-layer triggered events in the following categories:

  • Initiating a connection to a remote share

  • Opening a file, named pipe, or directory on a remote share

  • Accessing a file, named pipe, or directory on a remote share (reading, writing, locking, unlocking, handling IOCTL requests, querying or applying attributes, and so on)

  • Closing a file, named pipe, or directory on a remote share

  • Closing a connection to a remote share

  • Required actions for sending any outgoing message

  • Requests for the session key for authenticated sessions

The following sections provide details on these events.