I am looking through the SMB2 specification.
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/5606ad47-5ee0-437a-817e-70c366052962
I have a situation where I am unable to fetch a Directory or File's "FileAllInformation" attributes because it returns a STATUS_NOT_SUPPORTED error. The work-around is to fetch only the specific fields that I need.
STATUS_NOT_SUPPORTED
But I really only need:
See https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/4718fc40-e539-4014-8e33-b675af74e3e1
I can fetch these bits of information by themselves:
FileStandardInformation - Level 0x4
and I can also fetch
FileStandardInformation - Level 0x5
Because these are able to be used in query.
But FileNameInformation is only able to be used in local.
FileNameInformation
local
Is there some way to get the FileNameInformation without fetching the entire FileAllInformation?
FileAllInformation
2.1m questions
2.1m answers
60 comments
57.0k users