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

Adds ability to scope or descope users from the filter #136

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ryannewington
Copy link
Member

Added new test files PasswordEvaluatorInScopeTests.cpp and RegistryTests.cpp to the NativeUnitTests.vcxproj and NativeUnitTests.vcxproj.filters project files. Updated filter.cpp and passwordevaluator.cpp to include the IsUserInScope function, generating event log messages for excluded users. Enhanced registry.cpp to support multi-string registry values and log errors. Updated messages.h, messages.mc, passwordevaluator.h, and registry.h to declare new functions and constants. Modified lithnet.activedirectory.passwordfilter.adml and lithnet.activedirectory.passwordfilter.admx to add new policies. Updated messages.res to reflect message changes. Added necessary includes and implemented test methods in PasswordEvaluatorInScopeTests and RegistryTests to verify new functionalities.

Added new test files `PasswordEvaluatorInScopeTests.cpp` and `RegistryTests.cpp` to the `NativeUnitTests.vcxproj` and `NativeUnitTests.vcxproj.filters` project files. Updated `filter.cpp` and `passwordevaluator.cpp` to include the `IsUserInScope` function, generating event log messages for excluded users. Enhanced `registry.cpp` to support multi-string registry values and log errors. Updated `messages.h`, `messages.mc`, `passwordevaluator.h`, and `registry.h` to declare new functions and constants. Modified `lithnet.activedirectory.passwordfilter.adml` and `lithnet.activedirectory.passwordfilter.admx` to add new policies. Updated `messages.res` to reflect message changes. Added necessary includes and implemented test methods in `PasswordEvaluatorInScopeTests` and `RegistryTests` to verify new functionalities.
…and PasswordFilterEx functions. Changed the return value from TRUE to PASSWORD_APPROVED for consistency and clarity.
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.

1 participant