Hi all -
I’m trying to use FinalBuilder to check out my source tree from the repository and the CVS-Login step of my script is failing with the following error:
Client: Concurrent Versions System (CVS) 1.11.12 (client)
Server: cvs.exe version: authorization failed: server cvs rejected access to /home/cvshost for user markg
cvs.exe version: used empty password; try “cvs login” with a real password
I definitely put the password into the dialog, so I don’t understand why the tool isn’t transmitting the password correctly. Is there a facility for viewing the actual commands being sent to my CVS server? Are there other ways to diagnose this?
thanks,
Mark
Hi Mark
The Login action doesn’t actually call cvs login for the login command, because that cannot be run unattended (it prompts for input). What is does is write the password into the .cvspass file, which on windows usually lives in [systemdrive]:\documents and settings[username] folder. Then it calls “cvs ver” and parses the output to see if we are logged in or not.
Here is a test you can try, in the login action,
method : pserver
host : dev.w3.org
Port : 0
Path : /sources/public
User : anonymous
Password : anonymous
Run the action. Then open the .cvspass file, you should see an entry in the file that looks something like this ( :
:pserver:anonymous@dev.w3.org:/sources/public Ay=0=a%0bZ
This is what I get when I do this (not I’m using 1.11.14 which was the oldest version I could download in a hurry). :
Client: Concurrent Versions System (CVS) 1.11.14 (client)
Server: Concurrent Versions System (CVS) 1.12.9 (client/server)
Login OK
HTH