3.2.4.2.5 Connecting to the Share (Tree Connect)
Processing of this event is handled as specified in [MS-CIFS] section 3.2.4.2.5, with the following additions:
If a tree connect is already established to the target share in Client.Connection.TreeConnectTable, then it SHOULD be reused. If not, then the client creates an SMB_COM_TREE_CONNECT_ANDX request, as specified in section 2.2.4.7.1, to connect to the target share.
Session Key Protection
The client SHOULD<85> request Client.Session.SessionKey protection by setting the TREE_CONNECT_ANDX_EXTENDED_SIGNATURES flag in the Flags field of the SMB_COM_TREE_CONNECT_ANDX request to TRUE.
Extended Information Response
The client MUST request extended information in the response by setting the TREE_CONNECT_ANDX_EXTENDED_RESPONSE flag in the Flags field of the SMB_COM_TREE_CONNECT_ANDX request to TRUE, as defined in section 2.2.4.3.2.
The client sends this message to the server.