Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > enforcing password history when using Directory.Entry.Invoke

Reply
Thread Tools

enforcing password history when using Directory.Entry.Invoke

 
 
Saqib Ali
Guest
Posts: n/a
 
      02-16-2007
is there a way to enforce password history verification when using
Directory.Entry.Invoke("SetPassword", newPasswdStr)???


saqib
http://www.full-disk-encryption.net

 
Reply With Quote
 
 
 
 
Joe Kaplan
Guest
Posts: n/a
 
      02-16-2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> is there a way to enforce password history verification when using
> Directory.Entry.Invoke("SetPassword", newPasswdStr)???
>
>
> saqib
> http://www.full-disk-encryption.net
>



 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      02-16-2007
"Saqib Ali" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...

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


No.


 
Reply With Quote
 
Joe Richards [MVP]
Guest
Posts: n/a
 
      02-16-2007
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
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enforcing triggers in sql server database while using entity framework Andy B ASP .Net 1 01-26-2009 03:18 AM
Using history.go() to get to the *last* item in the history Niall Javascript 3 12-06-2006 03:26 PM
Values entered in the Form disappears when using the history.go(-1) or history.back() sujith.bolar@gmail.com Javascript 2 10-17-2006 08:12 PM
Recover Firefox web search history with history set to 0 days Sudip Chakraborty Firefox 2 11-21-2005 06:47 PM
history.dat, formhistory.dat - deleting deletes history? S.Rodgers Firefox 4 05-05-2005 01:03 AM



Advertisments