Skip to content

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

Draft
ryannewington wants to merge 2 commits into
masterfrom
135-user-filtering-support
Draft

Adds ability to scope or descope users from the filter#136
ryannewington wants to merge 2 commits into
masterfrom
135-user-filtering-support

Conversation

@ryannewington

Copy link
Copy Markdown
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.
@stale

stale Bot commented Jan 30, 2025

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.

@stale stale Bot added the stale label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant