enforcing password history when using Directory.Entry.Invoke

Discussion in 'ASP .Net' started by Saqib Ali, Feb 16, 2007.

  1. Saqib Ali

    Saqib Ali Guest

    Saqib Ali, Feb 16, 2007
    #1
    1. Advertising

  2. Saqib Ali

    Joe Kaplan Guest

    SetPassword does not enforce password history, as you are doing an
    administrative password reset. If you want password history enforced, you
    have to do a normal password change using ChangePassword. This requires
    knowing the previous password.

    Joe K.

    --
    Joe Kaplan-MS MVP Directory Services Programming
    Co-author of "The .NET Developer's Guide to Directory Services Programming"
    http://www.directoryprogramming.net
    --
    "Saqib Ali" <> wrote in message
    news:...
    > is there a way to enforce password history verification when using
    > Directory.Entry.Invoke("SetPassword", newPasswdStr)???
    >
    >
    > saqib
    > http://www.full-disk-encryption.net
    >
    Joe Kaplan, Feb 16, 2007
    #2
    1. Advertising

  3. Saqib Ali

    Mark Rae Guest

    "Saqib Ali" <> wrote in message
    news:...

    > is there a way to enforce password history verification when using
    > Directory.Entry.Invoke("SetPassword", newPasswdStr)???


    No.
    Mark Rae, Feb 16, 2007
    #3
  4. It isn't a matter of the client side API, this is hard coded in the OS
    itself. Password set operations regardless of how they get passed to AD
    do not enforce history.

    You may want to look at NetValidatePasswordPolicy API call, it might
    help you out...

    http://msdn2.microsoft.com/en-us/library/aa370661.aspx




    --
    Joe Richards Microsoft MVP Windows Server Directory Services
    Author of O'Reilly Active Directory Third Edition
    www.joeware.net


    ---O'Reilly Active Directory Third Edition now available---

    http://www.joeware.net/win/ad3e.htm


    Saqib Ali wrote:
    > is there a way to enforce password history verification when using
    > Directory.Entry.Invoke("SetPassword", newPasswdStr)???
    >
    >
    > saqib
    > http://www.full-disk-encryption.net
    >
    Joe Richards [MVP], Feb 16, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AAaron123
    Replies:
    2
    Views:
    2,148
    AAaron123
    Jan 16, 2009
  2. AAaron123
    Replies:
    1
    Views:
    1,333
    Oriane
    Jan 16, 2009
  3. Sam Stephenson
    Replies:
    1
    Views:
    225
    Andrew Walrond
    Jun 18, 2005
  4. Replies:
    2
    Views:
    293
    nutso fasst
    Oct 17, 2006
  5. Niall
    Replies:
    3
    Views:
    166
    Niall
    Dec 6, 2006
Loading...

Share This Page