Re: Authenticate connection as remote user



Thanks for your reply, but that's not quite it.

I'll try to put it another way. Let's say the user Bob is logged into
the client machine (MachineC). His username is MachineC\Bob. This user
does not exist on the server (MachineS). MachineC\Bob has no rights
whatsoever on MachineS. Bob maps a drive to a network share on
MachineS. In order to do this he has to log on remotely to MachineS. He
logs on as MachineS\BobSmith. Permissions for files on MachineS are set
appropriately for MachineS\BobSmith. Everything works as expected.

Now, I have a server app running on MachineS. This server app has a
secured resource with ACLs set for MachineS\BobSmith. Bob runs the
client app on his machine. The client app connects to the server app.
In order for the server app to allow access to the shared resource it
needs to authenticate the user.

I could of course pop up another username/password dialog and require
Bob to log in again. But, I don't want to have to do this since he is
already authenticated via the mapped drive.

How can I accomplish this?


Eugene Gershnik wrote:
> GKar Racer wrote:
> > For example, let's say the server is MachineS and the client is
> > MachineC. The user is logged on locally as MachineC\Bob, but is logged
> > on to the share as MachineS\BobSmith. Everything works perfectly in
> > Explorer and normal file I/O, of course. But, how do I authenticate as
> > MachineS\BobSmith and not as MachineC\Bob?
>
> Probably NetUseGetInfo is what you are looking for.
>
>
> --
> Eugene
> http://www.gershnik.com

.



Relevant Pages

  • Re: VPN tunnel with XP Home on remote end cant connect to server in App Mode
    ... MSLicensing registry key, rebooted, installed VPN client (Watchguard) ... Administrator seemed to get the license properly. ... I did not config these machines prior to this so there could have been ... Pro and obviously have a valid license. ...
    (microsoft.public.win2000.termserv.clients)
  • Re: Authenticate connection as remote user
    ... >> the client machine. ... >> does not exist on the server (MachineS). ... Bob maps a drive to a network share on ... I have a server app running on MachineS. ...
    (microsoft.public.win32.programmer.networks)
  • Re: A case for windows firewall
    ... Renewing SAV for definitions on 50 machines is significantly cheaper than buying a newer version and 50 licenses. ... I'm not saying a client should stick with SAV v4. ... I use the Windows firewall, but I cannot help but ask, "Where was the antivirus software that should have stopped the virus?" ...
    (microsoft.public.windows.server.sbs)
  • Re: 1058 and 1030 errors revisited
    ... Are you sure about the symptoms ie when the11th or 12th user logs ... Does the issue occour only on some machines? ... We have four servers to ... There are about sixty client ...
    (microsoft.public.windows.group_policy)
  • Re: XP Client cant connect (or ping) Host XP machine over wired L
    ... Internet is working fine from the stubborn XP client. ... I believe all machines (Host & Client) have XP pro installed but am unsure. ...
    (microsoft.public.windowsxp.network_web)

Loading