At 03:12 PM 2/24/2000 , Phlip wrote:
> 3> Register it as a service, and plop in this Reg key:
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\CVS\PServer]
> @="C:\\cvsroot"
>
> 4> Crack open a cold C:\cvsroot folder.
>
> 5> Install WinCVS, set the home directory to my project, log in with
>this connection string "plumpx01@plumpx01:c:\cvsroot", and set the
>protocol to "ntserver".
If you're using the ntserver protocol, your connection string should be
"plumpx01:c:\cvsroot" you only use the "user@host" syuntax for pserver, not
ntserver protocol.
Also, you did not make it clear whether you created the c:\cvsroot
repository using cvs. You don't just want to "mkdir c:\cvsroot". Rather,
you want to use "cvs -d c:\cvsroot init" or the "Create\Create a new
repository" menu command from wincvs. (See the Cederqvist manual, under
"Repository/Creating a Repository")
For troubleshooting, you should make sure that you can make things work
properly using the :local: protocol ("local mounted directory"
authentication option in WinCVS) before trying to use the client-server
protocols. This helps localize where the difficulty is happening. It was
not clear from your question whether your installation works under local mode.
Also, the integration of ntserver with wincvs is very new and incompletely
tested. It's more reliable to use either: (a) pserver connection from
WinCVS or (b) ntserver connection from command-line cvs (the version
distributed from Tony Hoyle's site at magenta logic).
Also be aware that Tony Hoyle's NT server, while an excellent piece of work
which I have used daily for several months with few problems, is still
experimental. It is incompletely documented and potentially has bugs. In
contrast, WinCVS is much more thoroughly tested.
In short, I would recommend:
1) Make sure your repository is properly initialized by using either WinCVS
or commmand-line CVS under the :local: protocol.
2) If (1) works, then try an ntserver connection from command-line cvs
(remember that the ntserver protocol DOES NOT use the user@host, but
:ntserver:host.domain.com:c:\cvsroot" form)
3) If (2) works, then try an ntserver connection from WinCVS. If this
fails, then set up a passwd file in c:\cvsroot\cvsroot and try a pserver
connection.
If (3) fails, then there is a probably problem with your server
installation (most likely in the c:\cvsroot\cvsroot\config file or in the
c:\cvsroot\cvsroot\passwd file).
Hope this helps,
Jonathan