RE: programmatically password complexity

From: ROL (ROL_at_discussions.microsoft.com)
Date: 11/24/04


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.



Relevant Pages

  • Example Code Was : Re: Re : Re: printk and long long
    ... LLHIGH, LLLOW, ulint); ... a long long consists of 64 bits on an x86, ... > I assume maybe it is a problems with the flags I use: ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Ultra-modern symphony
    ... That should suit all you modernists out ... which consists entirely of the note "A," except for the final note. ... and not those of Bar-Ilan University ... "You don't even have a clue about which clue you're missing." ...
    (rec.music.compose)
  • Re: Fri. 4/14 Will it Float? Item Prediction
    ... Brady wrote: ... I don't know where to begin with this one: it consists of 7 words ... Clue #1 for Word #3: ... art, huh? ...
    (alt.fan.letterman)
  • changing ethernet/wi-fi card flags ...
    ... I've been going through OpenBSD.org's docs (FAQ, manuals, etc.) many times without finding a clue about how to change some flags for my 802.11 ethernet card. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Calling a VB6 Subroutine from another Subroutine
    ... The only clue the documentation gives to the contrary is that it specifies various flags that simply could not be contained in a 16 bit Integer, ...
    (microsoft.public.vb.general.discussion)

Quantcast