Solved

MS Peer Service Network Login

Posted on 1998-12-01
5
145 Views
Last Modified: 2013-12-25
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 ?

0
Comment
Question by:jasonatkins
  • 3
  • 2
5 Comments
 
LVL 28

Expert Comment

by:sybe
Comment Utility
The system account is not the administrator. Why don't you give change rights to "system" on the other network server ?  
0
 

Author Comment

by:jasonatkins
Comment Utility
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.
0
 
LVL 28

Expert Comment

by:sybe
Comment Utility
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.
0
 

Author Comment

by:jasonatkins
Comment Utility
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.
0
 
LVL 28

Accepted Solution

by:
sybe earned 200 total points
Comment Utility
I am happy you solved it.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now