RE: programmatically password complexity
From: ROL (ROL_at_discussions.microsoft.com)
Date: 11/24/04
- Next message: Rhett Gong [MSFT]: "RE: digitially Sign multple files"
- Previous message: Ettore: "Re: How can I show a certificate chain?"
- In reply to: Fozya: "RE: programmatically password complexity"
- Next in thread: Fozya: "RE: programmatically password complexity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 23 Nov 2004 15:19:04 -0800
Yes, pwdProperties is the clue. I have found in MSDN Lib that it consists of
several bit flags. One of them is DOMAIN_PASSWORD_COMPLEX. Now there is a
question how to get this information in C/C++ code using ADSI API. It would
be nice to find an example.
Thanks.
"Fozya" wrote:
> pwdProperties is what you looking for.
>
> 'this will disable password complexity (in gp "Password must meet complexity
> requirements")
> objDomain.Put "pwdProperties", 0
>
> "ROL" wrote:
>
> > "Fozya" wrote:
> > >http://www.microsoft.com/technet/scriptcenter/scripts/ad/users/pwds/uspwvb05.mspx
> > >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/example_code_for_adding_a_domain_user_or_group_to_a_local_group.asp
> >
> > Unfortunately these links are related to password policy (which I know how
> > to get). I am asking how to check if password complexity enabled.
- Next message: Rhett Gong [MSFT]: "RE: digitially Sign multple files"
- Previous message: Ettore: "Re: How can I show a certificate chain?"
- In reply to: Fozya: "RE: programmatically password complexity"
- Next in thread: Fozya: "RE: programmatically password complexity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|