[cvsnt] CVSNT service user and impersonation
Bo.Berglund at system3r.se
Tue Feb 27 12:10:34 GMT 2007
First of all:
The scripts are executed in the context of the user if you have set the
"run as user" item in the control panel.
So if you put some extra code into the script to create the drive letter
mapping in code it might work.
something like this in windows command language:
net use k: \\server\share
del /F /S /Q *.*
cvs export modulename
net use k: /delete
My assumption is that the user in this case will be given network access
and thus a drive letter can be created properly on the share etc.
The drive mapping on the share will only exist during the cvs operation
and will then be removed.
Notice that drive mappings are only applicable to the specific user in
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Rick Martin
Sent: den 27 februari 2007 00:01
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] CVSNT service user and impersonation
On Mon, 26 Feb 2007 19:00:19 -0300, Gerhard Fiedler wrote:
> Rick Martin wrote:
>> All I'm trying to do is execute a script during commit of certain
>> that will update or checkout the module to a shared network location.
>> are other users doing this?
> Have you tried the shadow file?
That doesn't appear to work on the network either. If I use a UNC path
shadow script complains about not be able to change to the directory. If
use a drive letter I get an error saying the file or directory doesn't
exist. I'm assuming either the drive letter doesn't exist for the
or it doesn't have permission.
Any other ideas?
cvsnt mailing list
cvsnt at cvsnt.org
More information about the cvsnt