delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/05/13:38:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BE6DCAE.20207@ece.gatech.edu>
Date: Mon, 05 Nov 2001 13:38:38 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: "James L. Ash" <james DOT ash AT sbc DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: cvs pserver info
References: <3BE6A944 DOT 3888EB86 AT sbc DOT com>

James -
   Thanks for this report -- you are AFAIK the *first* person to get 
cygwin-cvs :pserver: working.  Congrats!  Your analysis is going in the 
next update's documentation...

You are correct; no code has been added to cygwin-cvs to enable 
windows-style user context switches.  Since sshd already has that 
context-switching capability, most folks are using CVS_RSH=cvs on the 
client machine, and accessing the repository via :ext: (not :pserver:).

However, if anybody out there wants to generate a patch to add NTish 
context-switching code to the cvsd, feel free to send it in.

--Chuck
cygwin cvs maintainer


James L. Ash wrote:

> I have successfully installed the cygwin provided cvs and am accessing
> it via pserver. It is not pretty but it works. The server is NT 4.0,
> sp6a.
> 
> The ONLY way that I could get it work work was to do the following:
> 
>      In the windows user manager, set up an account and make it a member
> of the administrators group
>      In my /usr/local/cvs_repository/CVSROOT, set up that user id to
> emulate administrator, such as:
> 
>     ja7295cvs:x2vKNQYgaDpK.:Administrator
> 
> Everything else - the /etc/inetd.conf and the
> c:\winnt\system32\drivers\etc\services - are set up per the CVS
> documentation.
> 
> I came up with this after trying everything else I could think of. So
> basically, I'm saying that every account into cvs must be an
> administrator of
> that box. I'm  basically working alone, so that hasn't been an issue for
> me yet. I *think* the issue is that the cvs code has not been patched so
> 
> that it can switch the user context. I haven't tried patching it,
> because I can get by with the setup I have now.
> 
> I am able to access my cvs server running on windows from other windows
> boxes on our corporate network (nt 4.0 and windows 2000) and
> from an AIX 4.3 box.
> 
> I don't remember the exact error messages that I was getting but I spent
> a lot of time, maybe a couple of weeks, working this out so I am highly
> confident that this is the only way to get pserver to work with cvs as
> it is provided today, that is,  without a patch.
> 
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019