If a user has locked his desktop, and asks for reset password. If mustchangepassword is enabled, the user cannot unlock his computer. This is the error message he gets: 'Your password has expired. Please change your password at another machine and retry or contact your domain administrator'
Any way to work around this?
My apologies for not framing the question in a clearer manner.
The issue is that I am remotely reseting passwords for users. When resetting the password, I want to make them change it the next time they login. To make them change password, I set attribute 'pwdLastSet' to zero.
For a user who locked his desktop(part of a domain), this approach leads to error I mentioned earlier: 'Your password has expired. Please change your password at another machine and retry or contact your domain administrator'
It is working well for a user who is logging in afresh.