126.96.36.199 Receiving an SMB_COM_FIND_CLOSE2 Request
The SMB_COM_FIND_CLOSE2 command is used to close a directory search handle that was created by a TRANS2_FIND_FIRST2 subcommand. Upon receipt, the server MUST verify the UID by performing a lookup in the Server.Connection.SessionTable, as described in section 188.8.131.52. The server must then locate the Search ID (SID) indicated by the SearchHandle field in the request in the Server.Connection.SearchOpenTable. If the SID is not found, the server MUST return an error response with a Status of STATUS_INVALID_HANDLE (ERRDOS/ERRbadfid). Otherwise, the SID MUST be closed, freeing the associated search context, if any. The SID entry MUST then be removed from Server.Connection.SearchOpenTable.
The response MUST be sent to the client as specified in section 184.108.40.206.