in reply to Logging onto other Domain PC from CGI Shell

You don't tell us what webserver you are using, but from the problem you have, I guess it is IIS. Under IIS, all CGI scripts run as the SYSTEM user or the IIS user, however it's called. Neither have privileges to access network shares, and it would be a bad security decision to give them those privileges.

I can only recommend you to get a real database instead of trying to connect via SMB shares. You could look at DBD::Proxy and have it running on the other machine and connect from your script on the server to the proxy, or you could run DBD::Proxy on your webserver as a different user.

  • Comment on Re: Logging onto other Domain PC from CGI Shell

Replies are listed 'Best First'.
Re^2: Logging onto other Domain PC from CGI Shell
by roscomputing (Initiate) on Feb 03, 2006 at 08:06 UTC
    I'm sorry i should have mentioned we are using Apache web server. Does apache use a default system user name? what are SMB shares? thanks, bill

      I think that you configure the user Apache uses either via the httpd.conf or, if Apache runs as a service, in the service manager.

      SMB shares is another word for "network shares". SMB is the protocol that Windows uses.