Skip to content

fix: add err handling 4 when sAMAccountName is NoneType#14

Open
mr-pmillz wants to merge 1 commit intogarrettfoster13:mainfrom
mr-pmillz:fix-attr-processing
Open

fix: add err handling 4 when sAMAccountName is NoneType#14
mr-pmillz wants to merge 1 commit intogarrettfoster13:mainfrom
mr-pmillz:fix-attr-processing

Conversation

@mr-pmillz
Copy link

@mr-pmillz mr-pmillz commented Jun 25, 2024

fix: add err handling 4 when sAMAccountName is NoneType

This resolves what would otherwise result in a crash and incomplete execution when an empty sAMAccountName is encountered

Also, removed an empty space in self. creds var name which seemed unintended.
image

With Patch:
image

@garrettfoster13 garrettfoster13 self-assigned this Jun 26, 2024
@garrettfoster13 garrettfoster13 added the bug Something isn't working label Jun 26, 2024
@garrettfoster13
Copy link
Owner

Well that's interesting, thanks for the PR!

@mr-pmillz
Copy link
Author

Well that's interesting, thanks for the PR!

No problem! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants