Hi again,
Well sometimes explaining a problem lead to the solution!
I insert this in the perl script:
system("net use S: \\\\computer\\share password /user:domain\user");
...and then I'm rolling again! The problem is that the rlog command called
from the script is executed under SYSTEM user, so I have to create proper
access to the network share for the SYSTEM user.
Now, my solution is of course not particularly dynamic, so if you Arthur
could look into a more well-designed solution using cvsweb.conf to control
whether and how a "net use" is executed it would be nice. I myself is a
perl-dummy, so a am not able to propose a better solution.
Regards
-----------------------------------------
J�rgen M�ller Larsen, KMF
Nykredit Data
email: [EMAIL PROTECTED]
Tlf. direkte 96 35 50 69
----------------------------------------
__________________
Hi
Can you confirm, that it is possible to use the ntserver protocol when the
cvs repository is located on a network share?
I tried to insert these statements in the perl script:
system("whoami>>c:\\temp\\liste.txt");
system("echo %PATH%>c:\\temp\\liste.txt");
This verifys that the user executing (at least these commands) is SYSTEM,
and that the PATH contains the directory with cvs and rlog.
I guess the SYSTEM user will not have access to any network shares, so it
seems to me that having the cvs repository on a network share and using the
ntserver protocol can not be possible. However I have done so successfully
for a month!
The cvsweb script is definately executed with the designated user, as
specified in the iis server properties (since it can list the modules in
the cvs repository).
Regards
-----------------------------------------
J�rgen M�ller Larsen, KMF
Nykredit Data
email: [EMAIL PROTECTED]
Tlf. direkte 96 35 50 69
----------------------------------------
Arthur Barrett
<arthur.barrett@march Til:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
-hare.com> cc:
Sendt af: Vedr.: RE: [Cvsnt]
CVSWEBNT trouble (HELP!)
[EMAIL PROTECTED]
2001-11-22 23:59
Besvar venligst til
Arthur Barrett
I suspect that the reason why it has "suddenly" stopped working is the fact
it is located on a network share.
Try shutting down IIS and re-starting it (using the services control
panel).
When IIS started during the boot process the network share would not have
existed.
The only other reason I can think of is that your PATH has changed.
Is this the first reboot since you installed cvswebnt ? Did you reboot the
server after making the changes to the PATH (as the doco tell you to)?
If you didn't reboot after changing the PATH, then the problem could be
this. Remember the SYSTEM user does not get your USER environment
variables....
regs,
Arthur Barrett
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, November 23, 2001 12:43 AM
> To: [EMAIL PROTECTED]
> Subject: [Cvsnt] CVSWEBNT trouble (HELP!)
>
> Hi,
>
> I have been using cvswebnt for a month or so, and have had no problems
> until now.
>
> Yesterday I had to reboot the server, and now cvswebnt has - partly, but
> in
> an essential way - stopped functioning.
>
> This is what happens:
>
> I open CVSWEBNT, and pick the CVS-root Develompment (I also have a Sample
> CVS-root).
> The list of modules is presented all right, and I can navigate through
the
> folders in the repository, but only until I reach a folder that contains
> files.
> When a folder contains files I get this:
>
> Error: Failed to spawn GNU rlog on 'S:/Dsource/AlmenPC//.cvsignore,v,
> S:/Dsource/AlmenPC//.cvswrappers,v'
>
> The CVS-root is located on a network-share (S:Dsource)
> If I try the same on my Sample CVS-root (which is located locally on the
> NT-server) everything works fine.
>
> To me it seems to be a problem with NT-permissions, but i can't resolve
> it.
>
> I have tried logging on the NT-server with the user which the IIS-server
> is
> using for anonymous access, to check that it has permission to access the
> network-share - and it seems all right. I can e.g. do a rlog
> S:/Dsource/AlmenPC//.cvsignore,v on a command-line and it works fine. And
> seemingly the cvsweb.cgi is executed with this user as well since it can
> list the modules on the network-share.
> The error seems to occur when the script is calling an external program
> (rlog) - maybe this is executed with another (SYSTEM?) user, but why? And
> how can i correct it? And why would it work until the reboot yesterday?
>
> HEEEEEEEEEEEELP!
>
> Regards
>
> -----------------------------------------
> J�rgen M�ller Larsen, KMF
> Nykredit Data
> email: [EMAIL PROTECTED]
> Tlf. direkte 96 35 50 69
> ----------------------------------------
>
> _______________________________________________
> Cvsnt mailing list
> [EMAIL PROTECTED]
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
[EMAIL PROTECTED]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
[EMAIL PROTECTED]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
[EMAIL PROTECTED]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt