Programmatic verification of password
- From: "Dave Williams" <davewilliams29@xxxxxxxxx>
- Date: Thu, 7 Jul 2005 15:37:55 +0100
Hi all, this is a coding question at a higher level than kernel dev, but I
couldn't
find a suitable developer group - if there's somewhere better I can post,
please tell me.
I have a service that's running as a user that's a member of domain admins
group, which needs to veryify an account password - actually the password of
the account currently running the service, to see if someone has changed it
since the service started.
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?
Thanks for any suggestions,
Dave
.
- Follow-Ups:
- Re: Programmatic verification of password
- From: Dave Williams
- Re: Programmatic verification of password
- From: William DePalo [MVP VC++]
- Re: Programmatic verification of password
- From: Christian Kaiser
- Re: Programmatic verification of password
- Prev by Date: CreateProcess() and ambiguity of the process names - clarification
- Next by Date: Any Api on win NT to get thread handle from thread id?.
- Previous by thread: CreateProcess() and ambiguity of the process names - clarification
- Next by thread: Re: Programmatic verification of password
- Index(es):
Relevant Pages
|