By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,473 Members | 3,598 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,473 IT Pros & Developers. It's quick & easy.

enforcing password history when using Directory.Entry.Invoke

P: n/a
is there a way to enforce password history verification when using
Directory.Entry.Invoke("SetPassword", newPasswdStr)???
saqib
http://www.full-disk-encryption.net

Feb 16 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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" <do*********@gmail.comwrote in message
news:11**********************@a34g2000cwb.googlegr 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

Feb 16 '07 #2

P: n/a
"Saqib Ali" <do*********@gmail.comwrote in message
news:11**********************@a34g2000cwb.googlegr oups.com...
is there a way to enforce password history verification when using
Directory.Entry.Invoke("SetPassword", newPasswdStr)???
No.
Feb 16 '07 #3

P: n/a
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
Feb 16 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.