[cvsnt] Basic basic help needed

Bo Berglund bo.berglund at telia.com
Tue Sep 16 19:12:43 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


If you log on to the Terminal Services PC, which is not the same as
the CVSNT server, with a local login that has no network access rights,
then I'm afraid you cannot do much.
In order to contact the CVSNT server and specify a domain user you
must first be allowed to use the network (for the CVS connection) and
since this is not allowed due to the policies you are locked in...

/Bo

-----Original Message-----
From: Ian Huynh [mailto:ianh at hubspan.com]
Sent: den 16 september 2003 18:03
To: bo.berglund at telia.com
Subject: RE: [cvsnt] Basic basic help needed


> 
> With Terminal Services you have another situation. In this case you
> have entered the LAN using dialup and then connected to the inside
> machine with TS. But in this case you are already logged in to the
> domain and there is no need for a root as you have described.
> It should be sufficient with:
>   :sspi:reposerver:/MyRepository
> And you don't cvs login at all - sspi uses your local login, in this
> case you used "Administrator".

  Is there a way to impersonate?  

> Of course you have to look at the policies on the TS machine and
> verify that a TS login actually has permissions to use the network
> resources, this is not always the case.

  You are right . the local Administrator from TS typically has no
  network access.  That's why I was wondering if I can log into TS as
  Administrator, then impersonate as user FOO who 
  - is part of the domain
  - and has full network access


> 
> /Bo
> 
> On Sun, 14 Sep 2003 16:10:23 -0700, "Ian Huynh" <ianh at hubspan.com>
> wrote:
> 
> >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 cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> >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 cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> >http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 
> 
> /Bo
> (Bo Berglund, developer in Sweden)
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook