Partager via


2.2.13.2.11 SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2

The SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 context is only valid for the SMB 3.x dialect family. The SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 context is specified in an SMB2 CREATE request when the client requests the server to mark the open as durable or persistent. The format of the data in the Buffer field of this SMB2_CREATE_CONTEXT MUST be as follows:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Timeout

Flags

Reserved

...

CreateGuid

...

...

...

Timeout (4 bytes): The time, in milliseconds, for which the server reserves the handle after a failover, waiting for the client to reconnect. To let the server use a default timeout value, the client MUST set this field to 0.

Flags (4 bytes): This field MUST be constructed by using zero or more of the following values:

Value

Meaning

SMB2_DHANDLE_FLAG_PERSISTENT

0x00000002

A persistent handle is requested.

Reserved (8 bytes): This field MUST NOT be used and MUST be reserved. The client MUST set this to 0, and the server MUST ignore it on receipt.

CreateGuid (16 bytes): A GUID that identifies the create request.