Partager via


2.2.6.4.1 Client Request

SMB_Parameters:

WordCount (1 byte): This field MUST be 0x0F.

Words (30 bytes):

TotalParameterCount (2 bytes): This field MUST be 0x0004.

TotalDataCount (2 bytes): This field MUST be greater than or equal to 0x0000.

SetupCount (1 byte): This field MUST be 0x01.

Setup (2 bytes): This field MUST be TRANS2_SET_FS_INFORMATION (0x0004).

Trans2_Parameters

 Trans2_Parameters
   {
   USHORT FID;
   USHORT InformationLevel;
   }


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

FID

InformationLevel

FID (2 bytes): A valid Fid that represents the open file on the server that is to have its file attributes changed.

InformationLevel (2 bytes): The Information Level of the request. This field MUST be a pass-through Information Level, as described in section 2.2.2.3.5.

Trans2_Data

The Trans2_Data block carries the structure of the Information Level specified by the request's Trans2_Parameters.InformationLevel field. Because this subcommand only accepts pass-through Information Levels, the structure of this section is implementation specific.