3.3.5.1.1 Scanning a Path for a Previous Version Token

If a request is a path-based operation (for example, SMB_COM_NT_CREATE_ANDX) and has SMB_FLAGS2_REPARSE_PATH set in the Flag2 field of the SMB header, then the server MUST perform a parse of the path by checking for previous version tokens (section 2.2.1.1.1). If the flag is not set, then the server MAY<107> parse the path anyway.

If a previous version token is found in the pathname, but the file or directory does not exist for the given snapshot, then the server MUST fail the operation with STATUS_OBJECT_NAME_NOT_FOUND. If the file or directory does exist, then processing continues as normal, except that the execution is against the previous version selected.

If no previous version token is found in the pathname, the server MUST process the path-based operation normally.