Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I'm Thinh. I saw your posts in some forums about AD, especially aboutt the way to communicate with AD using ASP.net. I would like to ask you to help me correct a problem like this:

This is a code I use to change password on AD

cs>public
The problem here is :

- If the Admin creates a user and doesn't check "User must change password the next logon" then the user from client can change password successfully, and without error
- But if the Admin creates a user and check "User must change password the next logon"  then the user can't change password .
  I know the error caused by: When "User must change password the next logon" is checked, user have to change it immediately in a sign in window, and use new password to login instead of the old password.
How can I deal with this problem ?
Posted
Updated 16-Dec-09 20:10pm
v3

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900