Remote authentication to a stand-alone Win2k Workstation on a Workgroup

From: PhCrypto (PhCrypto_at_nospam.nospam)
Date: 01/11/05


Date: Tue, 11 Jan 2005 10:39:06 -0500

With a Principal credentials readily available,
remotely accessing services and resources on various Windows 2000
Workstations/Servers
seems to be straight forward in a Domain scenario.
Call LogonUser() passing in the creds from the domain principal and
subsequently
call ImpersonateLoggedOnUser() passing in the (HANDLE hToken) acquired from
the previous LogonUser() call.

How does one go about doing this from Windows 2000 Workstations that are
either on UN-trusted domains or reside in separate WORKGROUPS ?
I found MSDN documentation and code samples that illustrate how to do the
above using the SSPI API. However, they all seem to require a client binary
that talks to a remote server binary. The client negotiates a socket channel
with the server and they authenticate back and forth through "NTLM".
Is there a uniform port to use when authenticating to a remote LSA ?
Is there a way to get a security token and pass that into a call to
ImpersonateLoggedOnUser(). Then go ahead and perform the remote operations ?

For my purposes, all I require is to remotely login to the Win2k workstation
as an existing principal on that remote computer. What I mean by that is to
login to the Security Authority on the remote Win2k workstation computer.
Then manipulate or automate the services and resources remotely using a
security token. This is precisely what I'm doing in a domain scenario using
LogonUser()/ImpersonateLoggedOnUser().

Can anyone help with this ?
Thanks,
PhCrypto



Relevant Pages

  • Re: Remote Web Workplace Issue
    ... I had to "rebuild" my server. ... I could use RWW to a remote desktop on the ... I also am running a new workstation with Vista Ultimate that was never ... on that computer either but can use the remote desktop connection. ...
    (microsoft.public.windows.server.sbs)
  • Re: Remote Web Workplace Issue
    ... RWW and Remote Desktop ... I had to "rebuild" my server. ... I also am running a new workstation with Vista Ultimate that was never ... on that computer either but can use the remote desktop connection. ...
    (microsoft.public.windows.server.sbs)
  • Re: Setup client computer over RDP connection? Or how?
    ... through enabling remote desktop. ... So, how do i set up her client workstation (logged on as her, i ... Log into the workstation over RDP, ... Run connectcomputer from there. ...
    (microsoft.public.windows.server.sbs)
  • Re: Remote Desktop into locked workstations on the logged in session
    ... accustomed to receiving a help desk request and simply walking to the ... initiate a remote session when they're on the phone with you. ... We'd like to start leaving our desks to fix problems less often ... googling of the error message at my workstation, ...
    (microsoft.public.windows.terminal_services)
  • Re: RWW Problem
    ... He can log on locally with no problem, but using RWW, when he autheticates, ... He is a member of domain users, remote users and remote workplace. ... >>And I'm sorry I mentione the Terminal Services thing in the first place. ... >>When I tried to connect to his workstation via His RWW session, ...
    (microsoft.public.windows.server.sbs)

Quantcast