Home All Groups Group Topic Archive Search About

Question abt Password Expiry

Author
22 Sep 2006 12:04 PM
Vikas Manghani
Hi
I have to implement password expiry in my application, in the same way as
Windows does it.
If a user's password at Active Directory is expired or reset, a window is
displayed that allows him to change his password.
The problem is that if password has expired, then
DirectoryEntry.Invoke("ChangePassword", new object[]{old, new})
throws an exception with the message "Logon Failure: Incorrect user id or
password."
Another complication is that I cannot pass the passwords in cleartext.
Do let me know what can be done about this.
This is urgent
Thanks and regards
Vikas Manghani

AddThis Social Bookmark Button