[cifs-protocol] Query file basic info 0x101, but why 1004?

Adam Simpkins simpkins at neopathnetworks.com
Mon Mar 27 21:09:12 GMT 2006


On Mon, Mar 27, 2006 at 01:11:47PM +0100, Joseph Kuan wrote:
> Hi all,
> 
>    In the document (section 4.2.14.4), it describes
> 
> SMB_QUERY_FILE_BASIC_INFO        0x101
> 
> and I don't understand why the value from the packet is actually 1004?
> 
> I look at the source code, it has comment 'NT passthrough levels'.
> 
> What is it? and I cannot find any document mentioning it.


One of the capabilities bits returned in a NEGOTIATE response is for
"NT passthrough info levels".  (This bit is 0x2000.)

If the server has this capability, then clients can send requests for
a number of info levels that aren't listed in the SNIA technical
reference document.  Many of these new info levels have identical
formats to the old ones.  For example, the response format for info
level 1004 is identical to that of 0x101.

I'm not sure why MS defined duplicate info levels that have the same
information as some of the older levels.  (Maybe someone else on this
list knows?)  I'm also not sure if there is any good document
describing these info levels.

-- 
Adam Simpkins
simpkins at neopathnetworks.com


More information about the cifs-protocol mailing list