Could test get FILE_OBJECTID_BUFFER functions
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- networking, testing
Research direction
Search the test suite for existing coverage of SMB2_Ioctl and SMB2_GetInfo, then trace how information levels are tested. Add checks for FSCTL_CREATE_OR_GET_OBJECT_ID, FSCTL_GET_OBJECT_ID, FileFsObjectIdInformation, and FileIdInformation so returned object IDs are nonzero and differ between two new files.
Written by the indexing model from the issue text.
Description
We observe that Windows 11 now requests a FILE_OBJECTID_BUFFER quite frequently (apparently after almost every SMB2 create) using the following SMB2 functions:
- SMB2_Ioctl / FSCTL_CREATE_OR_GET_OBJECT_ID
- SMB2_Ioctl / FSCTL_GET_OBJECT_ID
- SMB2_GetInfo / FS_INFO / FileFsObjectIdInformation
We also occasionally see requests for a FILE_ID_INFORMATION buffer, containing the same "Object Id", this SMB call:
- SMB2_Getinfo / FILE_INFO / FileIdInformation
I don't see any tests for these information levels. Any server could implement them, and we do, returning a per-file unique value for the Object ID. The test cannot possibly "know" what is a correct value, but it could verify that the value is not all zeros, and could verify that two new files have different Object ID values.
- Dominant language
- C#
- Stars
- 566
- Forks
- 217
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/WindowsProtocolTestSuites
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
ARM64 supportOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
microsoft/WindowsProtocolTestSuites#319 · 1 comment ·
All issues in microsoft/WindowsProtocolTestSuites
Similar issues
-
S: Untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
space-wizards/space-station-14#46357 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
MicrosoftLearning/PL-400_Microsoft-Power-Platform-Developer#231 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
joinrpg/joinrpg-net#5313 ·
Maintainers usually reply within 1 day
-
[12.x] FixIncorrectOwnerIdRelationships can delete legitimate library roots when UserView shares the same pathPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day