Export (0) Print
Expand All
Expand Minimize Receiving an SMB_COM_SET_INFORMATION Request

When the server receives an SMB_COM_SET_INFORMATION Request (section, it MUST verify that the file indicated by the FileName field in the request exists. If the file does not exist, the server MUST fail the request with STATUS_OBJECT_NAME_NOT_FOUND (ERRDOS/ERRbadfile). If the file exists and the user indicated by the UID field in the request header does not have permission to modify file metadata, the server MUST fail the request with STATUS_ACCESS_DENIED (ERRDOS/ERRnoaccess) and MUST increase Server.Statistics.sts0_permerrors by 1.

Otherwise, the server MUST attempt to set the file attributes provided in the request:

The response MUST be sent to the client as specified in section

© 2014 Microsoft