LogonUser for a workgroup
From: Chucky (dont@email.me)
Date: 01/25/03
- Next message: Steve Cendales: "How to restrict user from downloads, access to display settings, and more w/o domain?"
- Previous message: Aaron Dodd: "Re: Why couldn't Public keys replace Passwords on the Internet?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Chucky" <dont@email.me> Date: Sat, 25 Jan 2003 17:48:11 +1100
I am trying to call QueryServiceStatus() for a remote service in a workgroup
environment. Obviously I need to logon to the remote workstation first
before I can check the service status.
I am using LogonUser(username, machinename, password, ..., ...) as the docu
outlines however it keeps returning bad username or password. The problem is
that it is ignoring the machinename, and is validating it locally. How do I
get LogonUser to validate the credentials against the remote workstation
(remember there is no domain). I tried using "machinename\username" as the
username but that didn't help either.
-- Chucky