2.5.6.2.1 NetShareGetInfoRequest

The NetShareGetInfoRequest packet has the following fields.<16>


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

RAPOpcode

ParamDesc

...

DataDesc (variable)

...

RAPParams

...

RAPOpcode (2 bytes): MUST be set to 0x0001. For more information, see section 2.5.1.

ParamDesc (6 bytes): MUST be set to "zWrLh". For more information, see section 2.5.1.

DataDesc (variable): If InfoLevel in the following packet diagram is set to 0x0000, this MUST be set to "B13"; if InfoLevel is set to 0x0001, this MUST be set to "B13BWz"; if InfoLevel is set to 0x0002, this MUST be set to "B13BWzWWWzB9B". For more information, see section 2.5.1.

RAPParams (8 bytes): The RAPParams structure MUST be as follows.


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

NetName (variable)

...

InfoLevel

ReceiveBufferSize

NetName (variable): A null-terminated ASCII string that contains the name of the share about which to retrieve information.

InfoLevel (2 bytes): A 16-bit unsigned integer that specifies the information level for the request. This MUST be set to 0, 1, or 2.

Value

Meaning

0

Information level 0

1

Information level 1

2

Information level 2

ReceiveBufferSize (2 bytes): A 16-bit unsigned integer that represents the maximum number of bytes of data that can be returned in the Data field of the SMB_COM_TRANSACTION response to the command.