Partager via


2.2.7.6.1 Client Request

The NT_TRANSACT_SET_QUOTA request is a special case of the SMB_COM_NT_TRANSACT command request. Only the NT_TRANSACT_SET_QUOTA specifics are described here.

SMB_Parameters:

WordCount (1 byte): The value of this field MUST be 0x13.

Words (38 bytes): As specified in [MS-CIFS] section 2.2.4.62.1 and with the following exceptions:

SetupCount (1 bytes): This field MUST be 0x00.


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

NT_Trans_Parameters

NT_Trans_Data (variable)

...

NT_Trans_Parameters (2 bytes):

 NT_Trans_Parameters
   {
   USHORT FID;
   }


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

FID (2 bytes): An Fid to a file or directory. The quota information of the object store underlying the file or directory MUST be modified.

NT_Trans_Data (variable):

 NT_Trans_Data
   {
   FILE_QUOTA_INFORMATION QuotaInformation[] (variable);
   }


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

QuotaInformation (variable)

...

QuotaInformation (variable): A concatenated list of FILE_QUOTA_INFORMATION structures, as specified in [MS-FSCC] section 2.4.40.