[cvsnt] Re: SSPI commits to repository saved under author:administrator

Bo Berglund bo.berglund at telia.com
Fri Mar 17 18:31:38 GMT 2006


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.


On Fri, 17 Mar 2006 13:04:59 -0500, "Givler, Eric"
<egivler at state.pa.us> wrote:

>Here's a log from his machine in DOS:
>
>C:\>net use
>New connections will be remembered.
>
>There are no entries in the list.
>
>
>C:\>set cvsroot
>CVSROOT=:sspi:epitadw40.pa.lcl:/cvs/jdev1012
>
>C:\>cvs login
>Logging in to :sspi:c-dgood at epitadw40.pa.lcl:2401:/cvs/jdev1012
>CVS password:
>cvs [login aborted]: no such user administrator in CVSROOT/passwd

WRONG!
You NEVER cvs login when you use the connection string on the format
  :sspi:server:/repo
In these case cvs always uses the current login on the workstation you
are running cvs on.

But this also shows that when you are issuing this command you are
logged on *to your XP workstation* as "administrator"!

Don't do this, log in using your real user account instead.

OR
If you want to use SSPI but to a different account then you have to
do:

set CVSROOT=:sspi:charlie at epitadw40.pa.lcl:/cvs/jdev1012
cvs login (enter password)

Then when you do your cvs operations using the CVSROOT above cvs will
grab the just cached password from the registry and use that.
But beware!

The account "charlie" must exist on the cvs server as a real account
(or on the domain the server is attached to).

And the cached password goes to the HKCU of the user "administrator"
on the workstation.



/Bo
(Bo Berglund, developer in Sweden)



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