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 AD Accounts with delegation disabled #8111

Closed
wants to merge 1 commit into from

Conversation

sanjay900
Copy link
Contributor

@sanjay900 sanjay900 commented Jun 4, 2020

We have a few accounts that we have marked as "Account is sensitive and cannot be delegated", and they were being marked as disabled as the useraccountcontrol value for a sensitive account was not considered an active value. This fixes that by considering those accounts as active.

Fix accounts marked as "Account is sensitive and cannot be delegated", being flagged as disabled due to the useraccountcontrol value not being in the list of values considered being enabled.
@sanjay900 sanjay900 requested a review from snipe as a code owner June 4, 2020 02:14
@sanjay900
Copy link
Contributor Author

sanjay900 commented Jun 4, 2020

Is there a reason why there is a hardcoded list of useraccountcontrol values that are considered active instead of just checking that the accountdisable or lockout flags aren't set? There are probably a bunch of other valid useraccountcontrol values that should be considered active but currently are not.

@uberbrady
Copy link
Collaborator

My apologies, I just re-implemented this in #8270 - and I failed to check that you had already fixed this in your PR. I'll close this one out now as a duplicate.

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.

2 participants