Dela via


3.2.5.7.4 SMB2_CREATE_RESPONSE_LEASE Create Context

If Connection.Dialect is not "2.0.2" and an SMB2_CREATE_RESPONSE_LEASE create context is present in the SMB2_CREATE response returned from the server, it MUST do the following:

  • If Connection.SupportsFileLeasing is FALSE, the client MUST fail the create request from the application.

  • The client MUST locate the file corresponding to Open.FileName in the GlobalFileTable and copy the LeaseState in the response to File.LeaseState.