3.2.4.6 Application Requests a Directory Enumeration

Processing of this event is handled as specified in [MS-CIFS] section 3.2.4.27, with the following additions:

The TRANS2_FIND_FIRST2 subcommand request has been extended as specified below.

New Information Levels

To request the new Information Levels specified in section 2.2.6.1.1, the client MUST set the InformationLevel field of the TRANS2_FIND_FIRST2 request to the corresponding Information Level.

Enumerating Previous Versions

An application is allowed to request an enumeration of available previous versions of a file or directory using a TRANS2_FIND_FIRST2 request (see section 2.2.1.1.1). To do this, the request MUST have the @GMT token wildcard, @GMT-*, as part of the search pattern in the FileName field and it MUST use the SMB_FIND_FILE_BOTH_DIRECTORY_INFO Information Level. This extension is not available for Information Levels other than SMB_FIND_FILE_BOTH_DIRECTORY_INFO. The client MAY<90> fail such requests or simply send the requests to the server. Because it is a path-based operation, this request follows the same previous version token parsing rules as specified in section 3.2.4.1.1.

The message is sent to the server.