Link to home
Start Free TrialLog in
Avatar of jasonatkins
jasonatkins

asked on

MS Peer Service Network Login

I am attempting to create a small web site using Microsoft Peer Services Webserver on Windows NT.

One of my web pages calls a C++ CGI executable, which creates a small text file and tries to copy it to another NT network server. However, the CopyFile function fails because the error 'invalid username or password' is returned.

I have worked out that this is due to the 'World
Wide Web Publishing Service' forcing any network logins to
use the 'System Account', rather than the current user account. I tried to change this in the Services option in#
control panel, but the options where ghosted out.

My current user account is in the Domain, but the
system account (Administrator) is password protected and I am not allowed to use this account (only Domain Administrator can use this). Therefore, does anyone know how to force the service to use a different login ?

Avatar of sybe
sybe

The system account is not the administrator. Why don't you give change rights to "system" on the other network server ?  
Avatar of jasonatkins

ASKER

I don't follow. The current login I'm am using on the NT webserver already has 'full control' over the network share I
am trying to copy to.

What is the 'System Account' ?

ps I appreciate the help. I'm pulling my hair out over this.
the CGI does not use your username/password, but uses "system" as username. You should add "system" (as if it were a user) to the directory you want to copy files to, and give it (at least) change rights.
Great. Your last comment made me think and I've now worked it out. The complete solution was:

1. Start the Peer Server up.
2. Double click the WWW Service.
3. Change the Username and Password in the Anonymous Logon
section to the current login account (which is on the domain)

CGI now works. Thanks a lot.
ASKER CERTIFIED SOLUTION
Avatar of sybe
sybe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial