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 error checking for an unknown samaccountname #1754

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

man715
Copy link

@man715 man715 commented Jun 1, 2024

When rbcd.py cannot determine the SamAccountName of a SID, the tool would simply fail. By adding this error checking and adding 'Unknown' for the SamAccountName, when it cannot be determined, the tool will still perform the as intended.

@anadrianmanrique
Copy link
Contributor

Thanks for the PR. Qq: in which scenario SamAccountName could not be retrieved ?

@man715
Copy link
Author

man715 commented Jul 4, 2024

it happened when the user account t was deleted and the delegation was not removed on the object.

@anadrianmanrique anadrianmanrique added the medium Medium priority item label Jul 11, 2024
@anadrianmanrique anadrianmanrique self-assigned this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium Medium priority item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants