[cifs-protocol] fields returned by SMB_QUERY_FILE_ALL_INFO call

Jeff Layton jlayton at redhat.com
Thu Jun 21 19:21:19 GMT 2007

I'm was looking at seeing if it would be possible to convert the
IndexNumber fields returned by SMB_QUERY_FILE_ALL_INFO to something
resembling a inode number (which might be good for helping us to detect
hardlinks when unix extensions aren't enabled).

Looking at both the CIFS spec on SNIA's site and the packet traces via
wireshark, the fields returned by samba don't seem to exactly match
what's shown in the spec. For instance, I don't see any IndexNumber,
AccessFlags, or CurrentByteOffset fields in a SMB_QUERY_FILE_ALL_INFO

The linux CIFS client seems to expect this and everything seems to work
correctly, but I'm wondering why aren't those fields there? The list of
fields in the "Data Block Encoding" should be the fields returned, in
that order, correct?

Am I misreading the spec? 


Jeff Layton <jlayton at redhat.com>

More information about the cifs-protocol mailing list