[cvsnt] problems running CVSNT under Vista

Franck de Bruijn franck.de.bruijn at chello.nl
Sat Jul 26 08:47:24 BST 2008


Hi,

 

I have been a long time happy user of CVSNT. Recently I bought a new server
with Windows Vista installed. Unfortunately I  cannot get CVSNT to work. I
got the control panel to work (the 'asInvoker' trick).

 

However, when I try to login with 'cvs login' I get the following error:

 

C:\Windows\System32>cvs login

Logging in to :pserver:piet at localhost:2401:/cvsrepo

CVS Password:

Fatal error, aborting.

cvs [login aborted]: admin: Switch to user failed due to configuration
error.  Contact your System Administrator.

 

C:\Windows\System32>

 

The server log shows the following:

 

09:40:41:   -> Tracelevel set to 0.  PID is 5548

09:40:41:   -> Session ID is 15ac488ad4f90603

09:40:41:   -> Session time is Sat Jul 26 07:40:41 2008

09:40:41: S -> CVS Server is acting as standalone

09:40:41: S -> Client sent 'BEGIN AUTH REQUEST'

09:40:41: S -> FindPrototocol(BEGIN AUTH REQUEST)

09:40:41: S -> EnumerateProtocols: C:\PROGRA~2\CVSNT/protocols

09:40:41: S -> Loading protocol enum as enum.dll

09:40:41: S -> CLibraryAccess::Load loading
C:\PROGRA~2\CVSNT/protocols/enum.dll

09:40:41: S -> Checking protocol enum

09:40:41: S -> Checking key EnumProtocol

09:40:41: S -> Unloading enum

09:40:41: S -> Loading protocol ext as ext.dll

09:40:41: S -> CLibraryAccess::Load loading
C:\PROGRA~2\CVSNT/protocols/ext.dll

09:40:41: S -> Checking protocol ext

09:40:41: S -> Unloading ext

09:40:41: S -> Loading protocol gserver as gserver.dll

09:40:41: S -> CLibraryAccess::Load loading
C:\PROGRA~2\CVSNT/protocols/gserver.dll

09:40:41: S -> Checking protocol gserver

09:40:41: S -> Checking key GserverProtocol

09:40:41: S -> Unloading gserver

09:40:41: S -> Loading protocol pserver as pserver.dll

09:40:41: S -> CLibraryAccess::Load loading
C:\PROGRA~2\CVSNT/protocols/pserver.dll

09:40:41: S -> Checking protocol pserver

09:40:41: S -> Checking key PserverProtocol

09:40:41: S -> Authentication protocol returned user(piet)

09:40:41: S -> win32switchtouser(admin)

09:40:41: S -> win32getpwnam(admin)

09:40:41: S -> Authenticating server: (local)

09:40:41: S -> Trying Setuid helper... (ADMIN-PC\admin)

09:40:41: S -> SuidGetImpersonationToken returned 00000005

09:40:41: S -> Unloading pserver

 

I have been fiddling around assigning privileges to the 'cvsnt' process, but
to no avail. At one stage I got it to return 554 after
SuidGetImpersonationToken, but then it would fail at the NtCreateToken call.
Somehow I am not able to assign the privilege 'SeCreateTokenPrivilege' to
the service.

 

Possibly I am totally on the wrong track, so I really hope there is someone
out there that can help me.

 

Thanks in advance!

Franck



More information about the cvsnt mailing list