Re: Programmatic verification of password
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Thu, 7 Jul 2005 13:00:58 -0400
"Dave Williams" <davewilliams29@xxxxxxxxx> wrote in message
news:O2rE4FwgFHA.3312@xxxxxxxxxxxxxxxxxxxxxxx
> I've had a go at using LogonUser but it refuses as it says it requires a
> right I don't have. I'm suspecting this is the 'act as a part of the
> operating system' right, which indeed my user doesn't have. When I grant
> it
> that right, it's then able to use LogonUser to tell if the stored password
> is still correct.
>
> However, since I don't want to log on as the user, only verify the
> password,
> having the 'act as a part of the operating system' right seems quite
> heavyweight. Is there any other way I can achieve my goal?
You may be able to use the Security Services Provider Interface (SSPI) which
is described here:
http://support.microsoft.com/?id=180548
I say may because, frankly, I have not tried it running as LocalSystem. If
it works for you, I'd be interested to know that. :-)
Regards,
Will
.
- References:
- Programmatic verification of password
- From: Dave Williams
- Programmatic verification of password
- Prev by Date: Re: Problems w. platform SDK
- Next by Date: Re: Problems w. platform SDK
- Previous by thread: Re: Programmatic verification of password
- Next by thread: Re: Programmatic verification of password
- Index(es):
Relevant Pages
|