[cvsnt] Re: Using SSPI on a CVSNT server with WinCvs???

algoz algoz at netcabo.pt
Mon Oct 21 23:57:49 BST 2002


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.


Hi Bo,

I'm not sure if this is the best approach (or even a correct one), but it
works for me.
I've always used SSPI authentication with encription...
Anyway, what I did was:
  * define a CVSROOT environment variable (once, in a CMD prompt window),
with all the settings I need
  * issue a "cvs login" command
  * and then, enter the password, as prompted by cvs.
And it works... The password for your server is stored in the Win-Registry,
once for each server you use.
Also, I always redirected WinCVS command line to CVSNT... (just to keep up
with Tony's great work).
No more I had to worry about passwords for my server: WinCvs always gets
connected.
And if I need to do it on another computer (not my own), I always issue a
"cvs logout" at the end (with the same CVSROOT env-var)
and it clears any unwanted passwords from the machine.

HIH,
Eduardo


"Bo Berglund" <bo.berglund at system3r.se> wrote in message
news:3db40d31.545482642 at news.cvsnt.org...
> I am trying to use the SSPI protocol using WinCvs. Due to the fact
> that I am logged on as a different user on my laptop I need to specify
> the protocol as:
> :sspi:user at server:/repo
> This can be done in the Admin/preferences dialogue of WinCvs, but when
> I use the Admin/login command WinCvs does not allaow me to actually
> log in. Instead it displays:
> "Logging in is only required with pserver authentication (see
> Preferences dialog).
> Please consult the CVS manual for more details."
>
> If I go to the command line instead and enter:
> set CVSROOT=:sspi:user at server:/repo
> cvs login
> then I get the login dialogue and I am successfully logged in to the
> server (via the Internet)
>
> Next observation:
> I want to use the encrypt flag for the operations on this server with
> SSPI. So when I set the preferences I open the settings through the
> button and check the encrypt checkbox. This should result in the -x
> option being added to the cvs commands but I cannot see that
> happening. In the command window I see only the -z flag for cvs, not
> the -x flag I specified to switch on encryption. Is the sspi protocol
> not supported fully????
>
> I use the following versions:
> CVS: CVSNT version 1.11.1.3 57j
> WinCvs: The latest version as of Oct 12th built from source.
>
> It seems like WinCvs has problems handling SSPI and since this is the
> preferred way to operate on Windows NT (replacing ntserver) then I
> feel these shortcomings need to be addressed.
>
> /Bo
>





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