Skip to content

netapi32: Add stubs for NetValidatePasswordPolicy and NetValidatePasswordPolicyFree

Implement NetValidatePasswordPolicy and NetValidatePasswordPolicyFree as stubs returning NERR_Success. This prevents crashes in some apps that probe password policy support.

Fyi, this fixes a crash on Solidworks installer. Actual implementation requires LSASS and SAM and this stub is possibly the only feasible fix for years to come.

Merge request reports

Loading