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

Add option to swap last sub authority endianness to SID reading #54

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

Schamper
Copy link
Member

@Schamper Schamper commented Sep 13, 2024

In some cases the last sub authority is stored in swapped endianness, for example in the NTDS.dit database. This adds a swap_last flag to read_sid to deal with that.

Closes #23.

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.46%. Comparing base (7ac7a3a) to head (a709662).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
+ Coverage   86.40%   86.46%   +0.06%     
==========================================
  Files          20       20              
  Lines        1280     1286       +6     
==========================================
+ Hits         1106     1112       +6     
  Misses        174      174              
Flag Coverage Δ
unittests 86.46% <100.00%> (+0.06%) ⬆️

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.

Copy link

@twiggler twiggler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Schamper Schamper merged commit 5e3e6b4 into main Oct 7, 2024
18 checks passed
@Schamper Schamper deleted the add-sid-swap-last branch October 7, 2024 10:59
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.

ESE - read_sid big endian for the RID (last) part
2 participants