Re: Validating Old Passwords Before Changing Them
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 1 Feb 2008 14:03:16 -0600
Yeah, it tells you the problem but I don't think it gives you a way to fix
it. You can't change the password as part of that call, so I'm not actually
what combo of calls can be used to actually make the problem go away. I
wish I understood how this works in GINA. It is a weird chicken and egg
problem that they seem to have a solution to that we don't. :)
At least it provides a useful error message. LDAP really should.
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
--
Thanks for the reply.
LogonUser appears to work, in that it still returns non-zero, but
GetLastWin32Error() will return "ERROR_USER_MUST_CHANGE_PASSWORD" if
the password is valid, and the users password must change. I think
this is the only approach.
-Alan
.
- References:
- Validating Old Passwords Before Changing Them
- From: Alan
- Re: Validating Old Passwords Before Changing Them
- From: Joe Kaplan
- Re: Validating Old Passwords Before Changing Them
- From: Alan
- Validating Old Passwords Before Changing Them
- Prev by Date: Re: Replication problems
- Next by Date: Re: Replication problems
- Previous by thread: Re: Validating Old Passwords Before Changing Them
- Next by thread: Urgent!! moving a global catalog, I make a mistake??
- Index(es):
Relevant Pages
|