Re: Validating Old Passwords Before Changing Them
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 20:21:15 -0600
You can't do an LDAP bind when the user's state is set to "user must change
password at next logon". In fact, I don't think you can call LogonUser
either. I'm not actually sure how GINA does this, but there does not seem
to be a straightforward way to take advantage of this OS features.
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
--
"Alan" <balasuar@xxxxxxxxx> wrote in message
news:62aa883b-1cd4-4cb0-8c68-7f3cf3dc6d04@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I'd like to write a custom logon control, and I've run into a snag
when trying to handle "User Must Change Password At Next Login"
I'd like to validate a users old/current password against the domain
before showing the user the form to change the password.
Doing an LDAP Bind() fails with the current creds.
Any Ideas how to accomplish this?
Thanks,
-Alan
.
- Follow-Ups:
- References:
- Prev by Date: Re: Move local accounts to AD
- Next by Date: question on single label domain
- Previous by thread: Validating Old Passwords Before Changing Them
- Next by thread: Re: Validating Old Passwords Before Changing Them
- Index(es):
Relevant Pages
|