Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up compound request session and tree ids #266

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

jborean93
Copy link
Owner

Change to not set the SessionId and TreeId in the SMB headers of related compound requests as it is not in the spec. The spec only states the FileId used in the first create should be set to all bits and not these other two fields.

Fixes: #260

Change to not set the SessionId and TreeId in the SMB headers of related
compound requests as it is not in the spec. The spec only states the
FileId used in the first create should be set to all bits and not these
other two fields.
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4e69397) 99.06% compared to head (8a66b3f) 99.04%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #266      +/-   ##
==========================================
- Coverage   99.06%   99.04%   -0.02%     
==========================================
  Files          24       24              
  Lines        5115     5113       -2     
==========================================
- Hits         5067     5064       -3     
- Misses         48       49       +1     
Flag Coverage Δ
99.04% <ø> (-0.02%) ⬇️
py3.10 99.00% <ø> (-0.02%) ⬇️
py3.11 99.00% <ø> (-0.02%) ⬇️
py3.12 99.00% <ø> (-0.02%) ⬇️
py3.7 98.99% <ø> (-0.03%) ⬇️
py3.8 99.00% <ø> (-0.02%) ⬇️
py3.9 99.04% <ø> (-0.02%) ⬇️
x64 99.04% <ø> (-0.02%) ⬇️
x86 98.96% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jborean93 jborean93 merged commit a207f77 into master Jan 29, 2024
28 of 29 checks passed
@jborean93 jborean93 deleted the related-compound branch January 29, 2024 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compounded related requests: should TreeId and SessionId be set to 0xff..ff?
1 participant