programmatically reading password policy or check the complexity?
- From: snaxum <snaxum@xxxxxxxxxxx>
- Date: Sun, 24 Aug 2008 01:32:01 -0700
My project (written by c++) has a requirement that it needs to check the
password complexity before create the new account
I searched out the msdn and google, and got some findings, but none is the
perfect
1. RSOP_SecuritySettingNumeric and RSOP_SecuritySettingBoolean
it gets the password policy and works well on the system which is in a
domain, but it does not work in a workgroup
2. NetValidPasswordPolicy
it checks whether the password meet the complexity according to the
"password policy" and works well in 2003 server and vista, but it does not
work on XP
But there is no way to read the password policy or check the password
complexity on both domain/workgroup, or on both xp and vista.
Anybody has any idea on this issue?
--
river
.
- Follow-Ups:
- Re: programmatically reading password policy or check the complexity?
- From: Darren Mar-Elia
- Re: programmatically reading password policy or check the complexity?
- Prev by Date: Re: How do you all feel about embedded spaces in OUs?
- Next by Date: Re: Export user from AD
- Previous by thread: How do you all feel about embedded spaces in OUs?
- Next by thread: Re: programmatically reading password policy or check the complexity?
- Index(es):
Relevant Pages
|