[cvsnt] Basic basic help needed

Ian Huynh ianh at hubspan.com
Mon Sep 15 00:10:23 BST 2003


I can't get it to work either.


I use terminal service from home to dial into machine A at a remote location, signed on to machine A as
an Administrator.  I would like to access a CVS server (call this REPOSERVER in the same domain as machhine A using
user ID FOO at corp01.com (corp01 is my win2k domain)

I set CVSROOT=:sspi:FOO at REPOSERVER:/MyRepository

when i type cvs login 
it keeps telling me that it's trying to log in as 

:sspi:administrator at REPOSERVER:2041:/MyRepository instead of FOO.???




-----Original Message-----
From: Bo Berglund [mailto:bo.berglund at telia.com]
Sent: Sunday, September 14, 2003 3:34 PM
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] Basic basic help needed


On Sun, 14 Sep 2003 17:05:14 -0500, "Chris Stromberger"
<cstrom16 at comcast.net> wrote:

>I cannot figure out how to set up remote access for cvsnt.  I have it
>installed on XP.  I can use it locally by setting
>cvsroot=f:\cvs\repository\etc.  But when I try something like 
>
>set cvsroot=:pserver:cvs@<my ip>:\etc 
>
>I keep getting
>
>cvs [login aborted]: Error reading from server <my ip>: -1: No such file
>or directory
>
>I am lost re how to get remote access working.  I don't understand all
>the options (pserver, sspi, etc).  Can anyone explain in very simple
>terms how to set something basic up.  I just need this to work for one
>remote user--me.  The documentation hasn't helped me yet.
>
>Thanks for any clues.
>
>-Chris
>

It all depends on what you mean by "remote"...
How remote do you want it to be?
If it is sufficient to reach the server from another Windows XP
computer on your local network then you should use the SSPI protocol.
There is nothing else you need to do than this:

(Example session from another XP machine on the same network:)
set CVSROOT=:sspi:<yourservername or IP>:<repository>
cvs ls

This should list the existing repositories on the server.

If you are not on a domain and you need a login to authenticate then
change to:
set CVSROOT=:sspi:<a user>@<yourservername>:<repository>
cvs login
<give the password for user on the cvs server>
cvs ls

Note that the login is only required once per login user on a given PC
for a given repository.

Once you have established a connection you can start using CVS.
Tip: If you have not yet done so then get WinCvs latest release (don't
use 1.2 it is *really* old) and use that as a GUI to the cvs
commandline.

If you want to use repository specifiers like \etc then you must set
up a "repository prefix" in the CVSNT server Control Panel to supply
the remaining path to CVS. And you should not use backslashes when
specifying the root, it should read /etc instead (if your prefix is
set to f:\cvs\repository).

By the way, it is not a good idea to use the name CVS as a folder name
in the repository structure. CVS is sort of a "reserved" word for CVS
and is used automatically by CVS in keeping track of checked out data.
Having such a folder name is asking for confusion. You should also not
use a folder by the name CVSROOT, it is also a reserved word for CVS.
There is always a CVSROOT folder created when a repository is
initialized to hold the administrative files. So you should not
yourself create any such folder.


/Bo
(Bo Berglund, developer in Sweden)
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt


More information about the cvsnt mailing list