Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Could test get FILE_OBJECTID_BUFFER functions

Open
#296 2 comments 0 reactions 0 assignees View on GitHub

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

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/WindowsProtocolTestSuites

All issues in microsoft/WindowsProtocolTestSuites

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.