in reply to Re: Win32::AdminMisc::LogonAsUser does not seem to work.
in thread Win32::AdminMisc::LogonAsUser does not seem to work.

Hi Monks,

I am replying to this message months later just so somebody can find it with SuperSearch (or Google) and not waste the time I did this week.

Problem: I built a tool to allow users to selectively synchronize files on two servers, but was unable to access the files. The idea was to just mount one server on the other as a mapped drive, but for some reason it didn't work.

The solution: (it is so simple it is sick..)

There is some information about setuid in unix and windows here.

Hope this helps you.

Regards,

Matt Rosin (mattr .__AT__. telebody.com)

Here are some keywords and ideas of what I tried and heard about. Keywords: impersonation, Win32::AdminMisc, logonasuser, logon as user, login as another user, createprocessasuser, create process as another user, mapping drives over ftp, filesystem over ftp, emulation of copy, mkdir, and stat, parsing ftp dates with parse_dir in libwwwnet by Gisle Aas, Net::FTP::Common, and other things. Some more keywords might be: How do I access files on another computer, W2K, Win32, Windows NT, remote access, remote login, run cgi as another user, access another computer without a domain controller, setuid, suid, cgi permissions, IUSER Internet Guest Account, wwwuser in IIS, change web server user, wwwrun, nobody, access privileges, cgi login.

  • Comment on ** Changing CGI privileges in Windows 2000