2.2.25.2 Lease Break Response
The SMB2 Lease Break Response packet is sent by the server in response to a Lease Break Acknowledgment from the client. This response is not valid for the SMB 2.0.2 dialect.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
StructureSize |
Reserved |
||||||||||||||||||||||||||||||
Flags |
|||||||||||||||||||||||||||||||
LeaseKey |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
LeaseState |
|||||||||||||||||||||||||||||||
LeaseDuration |
|||||||||||||||||||||||||||||||
... |
StructureSize (2 bytes): The server MUST set this to 36, indicating the size of the response structure, not including the header.
Reserved (2 bytes): This field MUST NOT be used and MUST be reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.
Flags (4 bytes): This field MUST NOT be used and MUST be reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.
LeaseKey (16 bytes): The client-generated key that identifies the owner of the lease.
LeaseState (4 bytes): The requested lease state. This field MUST be constructed using the following values:
-
Value
Meaning
SMB2_LEASE_NONE
0x00
No lease is granted.
SMB2_LEASE_READ_CACHING
0x01
A read caching lease is granted.
SMB2_LEASE_HANDLE_CACHING
0x02
A handle caching lease is granted.
SMB2_LEASE_WRITE_CACHING
0x04
A write caching lease is granted.
LeaseDuration (8 bytes): This field MUST NOT be used and MUST be reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.