RE: CVS login error
CVS does not talk to VSS. I don't know what you were doing before, but I'm pretty confident that you were not using CVS to talk to a VSS server. More likely you had CodeWarrior configured to use VSS. --Rick GenterPrincipal EngineerSilverlink Communicationsmailto:[EMAIL PROTECTED](781) 272-3080 x242This e-mail, including attachments, may include confidential and/or proprietary information, and may only be used by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan NordbergSent: Tuesday, February 08, 2005 8:00 AMTo: info-cvs@gnu.orgSubject: CVS login error I'm trying to find some help about the login command to CVS. Several new things have happened here simultaneously and we are having trouble sorting out why I get an error with login: We got a new Windows 2003 server at the same time I got a new G5, OS X 10.3.5 and upgraded Metrowerk's Code Warrior to its latest version ( 9 ). Our previous server ( Windows 2000 ) had Visual Source Safe(VSS) 6.0.c, for our source control. VSS was just copied from the old server to the new server, and we have been able to still access VSS from our Windows platforms and from MAC OS 9.2 machine which has an old version of Code Warrior that still had interface for login in the setup panel. The new Metrowerks documentation says to login to CVS with -d login command and then Mac projects can access VSS from with the IDE.I used the pserver protocol since VSS is on the server. After typing in the cvs -d command, I am prompted for CVS password: When I type in my password I get the following a cvs [login aborted]: connect to maestrolearning.com:2401 failed: Operation timed out. I have also tried using MacCvsX to login and get the same error message. We had another company set up the new server and they are unfamiliar with Macs. Although we are not using CVS for source control, should something have be installed on our new server to enable the 'pserver' protocol for CVS login? Any recommendation for resources to check? I am not having any trouble connecting from the OS X machine to the server directly, or accessing files/folders there. It's just the cvs login error that has me baffled. Thanks. ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: CVS login with system passwords and MD5
Stephen, This page here explains the authentication in much more detail than I can go into here: http://www.cvsnt.org/manual/Remote-repositories.html This documentation is for CVSNT which runs on Linux/Unix/Windows/Mac etc and is the default client for WinCVS and TortoiseCVS. CVSNT is free open source software and can be downloaded from: http://www.cvsnt.com/ Regards, Arthur Barrett Stephen Carville [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to get CVS to authenticate using system passwords on a LInux box that uses MD5 password hashes. According to the documentation, cvs should use systems passwords by default. I have always turned the feature off (SystemAuth=No) but I have need to turn it on for one machine. However, when I set SystemAuth to Yes and remove my entry from the CVSROOT/passwd file, I cannot log in. Is this caused by the use of MD5 instsead of crypt? Am I missing something simple? -- Stephen Carville Unix and Network Adminstrator DPSI 6033 W.Century Blvd. Los Angeles, CA 90045 310-342-3602 ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
RE: CVS Login ERROR...
Title: Message Hi Naren! I think you will have to send me the following information before I can give you any further help: CVS Server: 1. What is the Server OS? (Distribution version details) 2. Which CVS Server package are you using? 3. What all configurations have been carried out? (Creation of the repository, scripts and files created) 4. If Linux, is apache and Samba installed and configured..?? CVS Client: 1. Which client are you using? (GUI or command line Linux or Windows) 2. What is the client version? 3. What are the configurations done on the client? Thanx Gagneet -Original Message-From: Narendhran K [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 September, 2003 12:48 PMTo: [EMAIL PROTECTED]Subject: RE: CVS Login ERROR... hi I tried with the things u said , but again it is giving the following error cvs [login aborted]: connect to 192.168.0.3(192.168.0.3):2401 failed: Connectionrefused could u help me naremGagneet Singh [EMAIL PROTECTED] wrote: Hi! 2 )cvs [login aborted]: connect to 192.168.0.3(192.168.0.3):2401 failed: No connection could be made because the target machine actively refused it. Could any one help me on this status. This can happen in the case you have not created the cvspserver file on your server. If you are using Red Hat systems after distribution 7.2, then you are required to put this file in the /etc/xinetd.d directory. The format of this file is.. service cvspserver { disable = no id = cvspserver env = HOME=/home/cvs socket_type = stream protocol = tcp port = 2401 wait = no user = root passenv = PATH server = /usr/bin/cvs server_args = -f --allow-root=/cvs/versions pserver } The repository root is denoted by the line: server_args = -f --allow-root=/cvs/versions pserver in the above mentioned file. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Narendhran KSent: Monday, 29 September, 2003 15:50 PMTo: [EMAIL PROTECTED]Subject: CVS Login ERROR... Hi, These are the two types of Errors that i Get when i try to install cvs on a LInux system and then try to run winCVS on the client system. 1 )[EMAIL PROTECTED] CVSROOT]# cvs -d /raid/cvsroot commit /root/CVSROOTcvs [commit aborted]: 'root' is not allowed to commit files 2 )cvs [login aborted]: connect to 192.168.0.3(192.168.0.3):2401 failed: No connection could be made because the target machine actively refused it. Could any one help me on this status. With regardsNaren Do you Yahoo!?The New Yahoo! Shopping - with improved product search ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
[EMAIL PROTECTED] writes: server:/homedir/user cvs login (Logging in to user@server) CVS password: cvs login: authorization failed: server server rejected access to directory/CVS/ for user user Note carefully that the directory in the error message ends with a /. cvspserver stream tcp nowait root /share/tools/local/bin/cvs cvs -b/share/tools/local/bin -f --allow-root =directory/CVS pserver Note carefully that the directory in the --allow-root= option does *not* end with a /. Like I said before, the directory in your $CVSROOT must *EXACTLY* match the --allow-root= option on the server. Get rid of the trailing / in your $CVSROOT and it should work (unless there's another problem, too). Also, please do not edit commands to replace actual names with things like server. Had you not left the trailing CVS in the directory name, there's a good chance you would have edited away the trailing slash and made it impossible to diagnose the problem. -Larry Jones Isn't it sad how some people's grip on their lives is so precarious that they'll embrace any preposterous delusion rather than face an occasional bleak truth? -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
OK a bit more progress here now this message: cvs [login aborted]: unrecognized auth response from machine: cvs pserver: cannot open dir/CVS/CVSROOT/config: Permission denied I need to provide a bit more info here maybe. I am a member of 2 groups. when I do an ID I get: uid=624(login) gid=22(group1) groups=299(group2) so my main group is group1 now the permissions on the CVS directory is set up so that it is 770 with the group as group2 do you think that this can be causing the problem? Do I need to newgrp to group2 ? I also tried to chmod 777 the config file as well as CVSROOT to see if I still had this problem but to no avail ... any Ideas ? Tom PS thank you for getting me over the first hurdle [EMAIL PROTECTED] s.com (Larry To: [EMAIL PROTECTED] Jones) cc: [EMAIL PROTECTED] Subject: Re: cvs login 06/20/2003 10:36 AM [EMAIL PROTECTED] writes: server:/homedir/user cvs login (Logging in to user@server) CVS password: cvs login: authorization failed: server server rejected access to directory/CVS/ for user user Note carefully that the directory in the error message ends with a /. cvspserver stream tcp nowait root /share/tools/local/bin/cvs cvs -b/share/tools/local/bin -f --allow-root =directory/CVS pserver Note carefully that the directory in the --allow-root= option does *not* end with a /. Like I said before, the directory in your $CVSROOT must *EXACTLY* match the --allow-root= option on the server. Get rid of the trailing / in your $CVSROOT and it should work (unless there's another problem, too). Also, please do not edit commands to replace actual names with things like server. Had you not left the trailing CVS in the directory name, there's a good chance you would have edited away the trailing slash and made it impossible to diagnose the problem. -Larry Jones Isn't it sad how some people's grip on their lives is so precarious that they'll embrace any preposterous delusion rather than face an occasional bleak truth? -- Calvin ** The information contained herein is confidential and is intended solely for the addresse(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein. ** ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
[EMAIL PROTECTED] writes: cvs [login aborted]: unrecognized auth response from machine: cvs pserver: cannot open dir/CVS/CVSROOT/config: Permission denied You're running the server from [x]inetd as root, right? If so, that error means that *root* doesn't have permission to access that directory, not you. That in turn implies that your repository is on an NFS-mounted filesystem which is a major mistake: it's just asking for trouble, and you're already getting it. By default, NFS maps root to an ordinary user (typically nobody in the group nogroup) who doesn't have permission to access your repository. It probably wouldn't hurt to give everyone read permission on the CVSROOT directory and its contents, but you're much better off moving your repository to a local disk. -Larry Jones It's no fun to play games with a poor sport. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
On Sat, 2003-06-21 at 03:09, [EMAIL PROTECTED] wrote: OK a bit more progress here now this message: cvs [login aborted]: unrecognized auth response from machine: cvs pserver: cannot open dir/CVS/CVSROOT/config: Permission denied (for the archives, for the next person with this problem): I talked to him offlist, he doesn't have CVSROOT/passwd set up, and SystemAuth in CVSROOT/config is set to 'no'. I suspect that fixing these will at least get him past another hurdle. Jenn V. -- Do you ever wonder if there's a whole section of geek culture you miss out on by being a geek? - Dancer. My book 'Essential CVS': published by O'Reilly in June 2003. [EMAIL PROTECTED] http://anthill.echidna.id.au/~jenn/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: reading from server: Connection reset bypeer
i fix it changing only_from = localhost line to only_from = 127.0.0.1 in /etc/xinetd.conf. Thanks Larry :). El Lunes, 17 de Marzo de 2003 00:48, Manolo escribió: El Domingo, 16 de Marzo de 2003 18:08, escribió: Manolo writes: 9)i try telnet localhost 2401 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. this result tell me xinetd permit localhost:2401 connections. It accepted the connection, but the connection was then immediatly closed, which implies that the CVS server wasn't run. Most likely you either have the path to CVS wrong in your xinetd.conf or you have some kind of firewall software (like tcp wrappers) that's denying access. Check your syslog for error messages from xinetd. -Larry Jones The living dead don't NEED to solve word problems. -- Calvi 1)iptables -F 2)and add ALL:ALL in hosts.allow restart and xinetd Now : cvs -t -d :pserver:[EMAIL PROTECTED]:/home/cvsroot login - main loop with CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvsroot Logging in to :pserver:[EMAIL PROTECTED]:2401/home/cvsroot CVS password: - Connecting to localhost(127.0.0.1):2401 ---wait forever--- and telnet localhost 2401 Trying 127.0.0.1... wait forever--- /var/log/cvspserver,/var/log/syslog --don't show anything then i run xinetd -d -- don't show anything netstat -tap return tcp 0 0 *:cvspserver *:* LISTEN 12194/xinetd tcp 0 1 localhost.localdom:2196 localhost.lo:cvspserver SYN_SENT 107/cvs how can know what happend? ___ Yahoo! Messenger - Nueva versin GRATIS Super Webcam, voz, caritas animadas, y ms... http://messenger.yahoo.es ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: reading from server: Connection reset bypeer
Manolo writes: 9)i try telnet localhost 2401 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. this result tell me xinetd permit localhost:2401 connections. It accepted the connection, but the connection was then immediatly closed, which implies that the CVS server wasn't run. Most likely you either have the path to CVS wrong in your xinetd.conf or you have some kind of firewall software (like tcp wrappers) that's denying access. Check your syslog for error messages from xinetd. -Larry Jones The living dead don't NEED to solve word problems. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: reading from server: Connection reset bypeer
El Domingo, 16 de Marzo de 2003 18:08, escribió: Manolo writes: 9)i try telnet localhost 2401 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. this result tell me xinetd permit localhost:2401 connections. It accepted the connection, but the connection was then immediatly closed, which implies that the CVS server wasn't run. Most likely you either have the path to CVS wrong in your xinetd.conf or you have some kind of firewall software (like tcp wrappers) that's denying access. Check your syslog for error messages from xinetd. -Larry Jones The living dead don't NEED to solve word problems. -- Calvi 1)iptables -F 2)and add ALL:ALL in hosts.allow restart and xinetd Now : cvs -t -d :pserver:[EMAIL PROTECTED]:/home/cvsroot login - main loop with CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvsroot Logging in to :pserver:[EMAIL PROTECTED]:2401/home/cvsroot CVS password: - Connecting to localhost(127.0.0.1):2401 ---wait forever--- and telnet localhost 2401 Trying 127.0.0.1... wait forever--- /var/log/cvspserver,/var/log/syslog --don't show anything then i run xinetd -d -- don't show anything netstat -tap return tcp 0 0 *:cvspserver *:* LISTEN 12194/xinetd tcp 0 1 localhost.localdom:2196 localhost.lo:cvspserver SYN_SENT107/cvs how can know what happend? ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN ERROR
Ibrahim Shaik writes: I checked the syslog , for messages from inetd.conf particularly for CVS , You want to check for messages from CVS itself, not inetd. Why is it giving this error. And why does winCVS or any other client show the error as cvs login cvs [login aborted]: authorization failed: server 66.125.19.74 rejected access to /usr/local/cvsrepository for user cvsusergroup. When this happens, the server should log a message under the DAEMON facility that says either login refused for repository (which indicates that the specified repository isn't valid) or login failure (for repository) (which indicates that either the username or passwordisn't valid). In the later case, if your system has an AUTHPRIV facility, it will also log a message there containing the username and password. Since it looks like the specified repository exactly matches the --allow-root= option in inetd.conf, I'd say either the username or password isn't right: are you using a $CVSROOT/CVSROOT/passwd file or system authorization? -Larry Jones I'm crying because out there he's gone, but he's not gone inside me. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN ERROR
Ibrahim Shaik writes: I had tried both the options , I added a user ( group called cvsusergroup) and added few existing Unix users (myself,sysadmin ) to this group. I defined cvsusergroup user's home directory as cvsrepository. Also made that user as owner of that group. Gave --rwe-- permissions to the repository. Try su'ing to cvsusergroup and running CVS in local mode to be sure that works; do something innocuous like checking out CVSROOT. That way you'll know the permisions aren't screwing things up. I also have a CVS admin GUI page from where I can add cvs users. I added few cvs users and defined them to access the files as cvsusergroup ... This added the following lines to $CVSROOT/cvsroort/passwd file Ibrahim:password:cvsusergroup cvsusergroup:password:cvsusergroup. Those are encrypted passwords, not plain text passwords, right? I am really going crazy with this error. What is the cvspserver/tcp: bind: Address already in use error? Note that that's a inetd message and has nothing to do with your login problem. Most likely it means that you restated inetd very shortly after killing it so that the system still had the existing sockets around to handle any late packets from remote systems. Since inetd seems to be working fine, it must have dealt with the errors appropriately. How do we define cvspserver to authenticate the users againt the users in the passwd file or against the system users? That's SystemAuth in the $CVSROOT/CVSROOT/config file -- it defaults to yes, which means CVS uses both the system passwd file and its own passwd file. -Larry Jones I think if Santa is going to judge my behavior over the last year, I ought to be entitled to legal representation. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN ERROR
Ibrahim Shaik writes: What is the invalid argument error. Is the argument I passed for cvspserver in inetd.conf , wrong? No, it's some kind of internal error in inetd -- it's not the cause of your problem. Again, you need to look for messages from CVS itself, not messages from inetd. And check to see if your system has an AUTH_PRIV facility -- if so, the log messages for it usually go to a special log file that only root can read since they contain security-related information. That's where the good log messages go. -Larry Jones It's either spectacular, unbelievable success, or crushing, hopeless defeat! There is no middle ground! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN ERROR
Ibrahim Shaik writes: Now the main problem I am facing is , when ever I try to connect using jCVS , it says I HATE YOU . It is not authenticating any user . Check your syslog for the DAEMON facility for messages from CVS. They'll give you more information about what the actual problem is. -Larry Jones Archaeologists have the most mind-numbing job on the planet. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: cvs login
If you specify pserver as the protocol in your CVSROOT definition, the server side of CVS will take username and passwords from your /etc/passwd file; a user not found in /etc/passwd with an entry in CVS password file will be accepted as well, given that the passwords match of course. See http://cvsbook.red-bean.com/cvsbook.html#The_Password-Authenticating_Server. Karl-Koenig Koenigsson --- Beware of the quantum duck. Quark! Quark! Quark! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of M Mason Sent: Monday, March 25, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: cvs login I'm using wincvs on the client. I have setup preferences properly. I am getting authorization failed when attempting to login. I have setup a passwd file in CVSROOT directory. How can I get it to use the /etc/passwd file or what am I missing? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
Karl-Koenig Koenigsson writes: If you specify pserver as the protocol in your CVSROOT definition, the server side of CVS will take username and passwords from your /etc/passwd file; a user not found in /etc/passwd with an entry in CVS password file will be accepted as well, given that the passwords match of course. Almost -- CVS actually looks at the CVS password file first; it only looks at the system password file if there's no entry in the CVS password file *and* SystemAuth=yes is specified in CVSROOT/config (which it is by default). -Larry Jones Nobody knows how to pamper like a Mom. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS login time
jazzvale writes: The application works good, but we have serious speed problem because every time we login into the cvs-server the it waits about 2.2 seconds to authorize the user. Does anyone know how to decrease this dead time? You'd have to profile the server to find out what's taking so long. My suggestion would be to do more work per login so you don't have to login so much. -Larry Jones Mom must've put my cape in the wrong drawer. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: connect to 216.254.34.156:2401 failed: Connection timed out
You seems to have the same problem as me. The firewall systematically block the ports he knows nothing about. Usually they know ftp, web, telnet, ssh, https but cvs is not on the list. Unfortunately, asking your system administrator to open the port seems to be the only solution. And i know this is very difficult. In my case, nobody seems to be able to tell me who the hell is the firewall administrator. So i can't CVS from school Hope this will disespair you, David Delbecq ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: connect to 216.254.34.156:2401 failed: Connection timed out
Matt Burba writes: I am a newbie to cvs and I am having problems logging in as a client from my work machine (WinNT). The server I am logging into is running Linux and I have no trouble connecting from home (using WinCVS or Forte For Java's built in client). I am DEFINITELY behind a firewall at work that I have no control over. I can telnet to the ip address (port 23?) and connect via ftp (port 21?). You need to get the firewall administrator to allow outgoing connections to port 2401 (presuming you want to use pserver to connect). If your filewall already allows RSH (unlikely) or SSH (quite possibly) connections, you can use one of them with the :ext: connection method instead of using pserver. -Larry Jones He's just jealous because I accomplish so much more than he does. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS Login
Bekaye Keita writes: Can someone tell me why CVS doesn't check my CVSROOT/password file for authentication. Well, it might be because the CVS-specific password file is CVSROOT/passwd, not CVSROOT/password. -Larry Jones I think we need to change the rules. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login problem from wincvs
dear sir, the problem solved. i selected proper proxy server options in wincvs. thankyou, Bhavani. Bhavani Prasad Polimetla wrote: dear sir, cvs login (Logging in to [EMAIL PROTECTED]) cvs [login aborted]: proxy server 192.32.10.199:2401 does not support http tunnelling *CVS exited normally with code 1* this error coming in wincvs. I am logging in linux successfully. how can i solve the above problem. thankyou, Bhavani. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN
Christian Robottom Reis writes: you could also use the new password syntax that pserver offers now What new password syntax?!? -Larry Jones My C- firmly establishes me on the cutting edge of the avant-garde. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN
On Thu, 17 May 2001, Larry Jones wrote: Christian Robottom Reis writes: you could also use the new password syntax that pserver offers now What new password syntax?!? Well, from http://www.cvshome.org/dev/NEWS-1.11.1p1.txt * A password and a port number may now be specified in CVSROOT for pserver connections. The new format is: :pserver:[[user][:password]@]host[:[port]]/path Am I mistaken? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN
On Wed, 16 May 2001, G. Shi wrote: However, it seems that cvs login is interactive. Is there any way to include login, update logout in a script? You could use expect(1) to automate that, and you could also use the new password syntax that pserver offers now -- I believe only 1.11 has it, however. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN
Christian Robottom Reis [EMAIL PROTECTED] writes: On Wed, 16 May 2001, G. Shi wrote: However, it seems that cvs login is interactive. Is there any way to include login, update logout in a script? You could use expect(1) to automate that, and you could also use the new password syntax that pserver offers now -- I believe only 1.11 has it, however. Or just never logout. The only state from a cvs login command that makes you logged in is an encrypted form of your password stored in the .cvspass file in your home directory, and although I haven't looked, I'm guessing that all cvs logout does is to erase the appropriate line from that file. Just do cvs login once, then never do it again - then your script can do the update and nothing else. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS login
[EMAIL PROTECTED] writes: cvs [login aborted]: unrecognized auth response from localhost: Usage: cvs [cvs-options] command [command-options-and-arguments] Your CVS server is misconfigured. You get that usage message when you type "cvs" with no following subcommand, so you most likely left the "pserver" off the end of the inetd.conf line. -Larry Jones Some people just don't have inquisitive minds. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted] ... EOF
Narasimha Kumar writes: cvs [login aborted]: received broken pipe signal There's something wrong with your inetd.conf -- inetd is listening for connections, but is unable to start CVS. Check it carefully, particularly the path to CVS, and check your syslog for error messages. -Larry Jones I don't need to improve! Everyone ELSE does! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: recv() from server cvs: EOF
Found this on mail-archive.com: http://www.mail-archive.com/info-cvs@gnu.org/msg02526.html . If the first mail doesn't help, try following the thread links at the bottom of the page. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- There is not a truth on earth which I fear or would disguise. But secret slanders cannot be disarmed, because they are secret. - Thomas Jefferson to William Duane, 1806 Sandra Wittenbrock wrote: Hi, Suddenly, I am having trouble connecting to cvs from my computer. From other computers, I can connect. My computer is running Solaris. I have CVSROOT and CVSHOME set. The error is: plato: cvs login (Logging in to loginname@cvsserver) CVS password: cvs [login aborted]: recv() from server cvs: EOF I checked the archives, and saw a couple questions about the same problem, but no answers. Any ideas? Thanks, Sandra ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
(Oops. Thought I had sent this off days ago... Sorry.) Some interesting news, below. Good but puzzling. On 18 Oct, Derek R. Price wrote: [EMAIL PROTECTED] wrote: I did a strings on the Windows cvs.exe and on /usr/bin/cvs on Linux, and both have CVS_CLIENT_LOG, so I assume the facility works similarly as in the source to cvs 1.10.8 that I have handy: it just opens $CVS_CLIENT_LOG.in and $CVS_CLIENT_LOG.out and writes in there. No, that's about it. I'm not sure what shell you are using, but in Bourne, Bash, and Korn, you need to export environment variables for a child process to see them: Sure. That's why I said I "exported" CVS_CLIENT_LOG. Whoops. Just checked myself and CVS doesn't start writing to the client log until after authentication, probably for the obvious reasons, but it does work under both Linux Windows in 1.11. So wouldn't get any debug for the part that's going wrong, anyway. Anyway, I'd say your options are compiling a debug version under Windows and attempting to trace the failed attempt or figure out what the difference between your Windows Linux CVSROOT specs are, since the Linux version worked. I'll admit that it seems difficult to see how to setup the cvs server to be run from gdb. Hmm, maybe I could attach to it once it was running... Is LOGNAME set differently on the two machines? No. Try a CVSROOT with no variables in it. CVS shouldn't be filling anything into CVSROOT on either platform, so if the problem lies there you should be able to fix it on the command line. I think that's a small red herring. I tried without a CVSROOT, using the -d option, with the same result. Also, try again to make sure that handy's IP address is the same regardless of which machine you look it up on. Handy is defunct; "mantovani" is the stand-in. There is an amd entry so that /home/handy is the same as /home/mantovani. But our network is solid and clean, and I'd be flabbergasted if mantovani's IP address changed while the machine was running (the IP addresses are assigned dynamically from a server). And now for the good but puzzling news. It's now working. Now, keep in mind that this all used to work when Handy was alive; and failed when Mantovani replaced it. Both were running the same version of Linux with the same versions of the same utilities installed. Also involved is an old version of ssh compiled for Windows. The problem only occurs if we don't explicitly specify the login id when we make the ssh connection from the Windows box to the Linux CVS server. The ssh login succeeds, but when we later try to cvs login, the cvs server on the Linux box rejects the login with the message "authentication failure". The mechanism works like this - let me use Win to stand for the Windows client and Lin for the Linux server: On Win we do: ssh -L 2401:localhost:2401 Lin I gather this makes a loopback connection on port 2401 on localhost (Win), talking to a 2nd loopback ssh connection on port 2401 on Lin, and because of our /etc/{services,inetd.conf} and pserver CVSROOT, cvs talks via ssh. With the ssh -l $LOGNAME it all works. Without the -l $LOGNAME we get the "authentication failure" error when the windows user tries to cvs login - *even though the ssh login works*. Each user only has a single login id. Puzzles are: 1) If the -l $LOGNAME is needed, why did it work at all previously? 2) How can the ssh login succeed but the cvs login fail? Where does the cvs server get the login id from? The client? If so, how does the ssh login id affect it? I twigged to this after trying a new ssh compiled under U/Win 2.25, which just happens to default to using "DOMAIN/$LOGNAME" as the login id. This forced me to specify -l $LOGNAME to make even the ssh login succeed. And after that, the cvs login worked. So, we're happy that it's now working, but don't really understand what went wrong, or why it now works. luke ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
Luke Kendall wrote: Mike Castle wrote: On Fri, Oct 13, 2000 at 02:42:15PM +1100, Luke Kendall wrote: But the CVS archive isn't working for the Windows machines anymore; any attempt to do a cvs login gets the error below: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Wait. You are using ssh to log back into the Windows machine? (luke@localhost) That doesn't seem to make a lot of sense. Or were you just obscurring information there? No, that's exactly what I used; it's the output from a script wrapped around it that only starts an ssh connection to the cvs server machine if there isn't already one running, and also sets some environment variables. That sure looks like the standard error message. Are you sure you are sending the right user name? You said you move the CVS repository. Are you sure your ssh is still forwarding the connection to the correct machine and not to another without your name in the password file? Are you sure the repository root (--allow-root=...) hasn't changed and is it still being specified correctly to the pserver command? Play with CVS_CLIENT_LOG and see if you can trace more of the authentication. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- The cost of living hasn't affected its popularity. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
Mike Castle wrote: On Fri, Oct 13, 2000 at 02:42:15PM +1100, Luke Kendall wrote: But the CVS archive isn't working for the Windows machines anymore; any attempt to do a cvs login gets the error below: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Wait. You are using ssh to log back into the Windows machine? (luke@localhost) That doesn't seem to make a lot of sense. Or were you just obscurring information there? No, that's exactly what I used; it's the output from a script wrapped around it that only starts an ssh connection to the cvs server machine if there isn't already one running, and also sets some environment variables. Fundamentally it does this: wterm sh -c "ssh -l $LOGNAME -L 2401:localhost:2401 mantovani" CVSROOT=":pserver:$LOGNAME@localhost:/home/mantovani/cvs-archive" CVS_SERVER="/usr/bin/cvs" export CVS_SERVER cvs login This means that at localhost on the client, and on localhost on the server, an ssh connection to port 2401 is made. So all cvs communications are sent via ssh. We use this because we're working on a clean room project; it just happens to be the same system we use if working off site. Why don't you use :ext:luke@linuxhost:/home/mantovani/cvs-archive And set CVS_RSH to ssh. See above. Plus, it used to work until we changed the CVS server from one Linux machine to another. And this way still works when talking to another server serving another CVS archive. A very significant fact: when logged into the cvs server, if we use CVSROOT=":pserver:$LOGNAME@localhost:/home/mantovani/cvs-archive" cvs login fails there! Doing a trace of it, all we see is the server sending the message "I HATE YOU". So the password validation appears to be failing. In summary: I think we're using ssh for good reasons; it used to work; changing from one Linux machine to another (and re-doing the config) stopped it working; we can still use the technique to talk to another server serving another CVS archive. Any hints about how we diagnose this? Does cvs provide any verbose logging or debug mode? AFAIK, cvs login takes no options. My next step otherwise will be to modify the cvs source to generate some information to trace what's going on. luke ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
Luke Kendall writes: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Is there any way to find out why the cvs client (or is it the server?) rejected the login? Is there any kind of logging information that can be examined? Like the message says, it's the server that rejected the login. When you get just that message with no additional information, it means that either the user exists but the password didn't match, If it was using the user CISRA/luke instead of luke (i.e. if for some reason it was insisting on using the Windows domain name plus user name), the password would fail to match. Is there any way to force it to use a specific user name? or the repository you specified does not match one of the --allow-root= arguments specified for the server (in /etc/inetd.conf, presumably). No, it looks like: cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs --allow-root=/home/handy/cvs-archive pserver Although the machine "handy" died, and was replaced by "mantovani", the auto mounter has been adjusted to pretend matovani is handy. We also tried explicitly changing the inetd.conf to refer to mantovani, and killed inetd processes, but it made no difference. :-( The current development version now has an additional message for the latter case, so you'll be able to tell which it is in the future. Sounds helpful. But are there any log messages we can use to find the exact username it was using? I'm suspicious of that. luke ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
On Fri, Oct 13, 2000 at 02:42:15PM +1100, Luke Kendall wrote: But the CVS archive isn't working for the Windows machines anymore; any attempt to do a cvs login gets the error below: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Wait. You are using ssh to log back into the Windows machine? (luke@localhost) That doesn't seem to make a lot of sense. Or were you just obscurring information there? Why don't you use :ext:luke@linuxhost:/home/mantovani/cvs-archive And set CVS_RSH to ssh. mrc -- Mike Castle Life is like a clock: You can work constantly [EMAIL PROTECTED] and be right all the time, or not work at all www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc We are all of us living in the shadow of Manhattan. -- Watchmen ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: unrecognized auth response from 10.5.0.30
OK, I've removed the "\" and it's working now. Thank you. It's a shame that the "\" was in the documentation. Jimmy Lavoie ([EMAIL PROTECTED]) - Original Message - From: Guus Leeuw [EMAIL PROTECTED] To: 'Jimmy Lavoie' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 18, 2000 4:37 PM Subject: RE: cvs [login aborted]: unrecognized auth response from 10.5.0.30 -Original Message- From: Jimmy Lavoie [mailto:[EMAIL PROTECTED]] This is the line I add in /etc/inetd.conf cvspserver stream tcp nowait root /usr/bin/cvs \ cvs -f --allow-root=/src/cvs pserver Hmmm :) Should have spotted that earlier. Remove the \ and join both lines so that you and up with 1 line. Cheers, Guus
RE: cvs [login aborted]: unrecognized auth response from 10.5.0.30
-Original Message- From: Jimmy Lavoie [mailto:[EMAIL PROTECTED]] OK, I've removed the "\" and it's working now. Thank you. It's a shame that the "\" was in the documentation. Which documentation? Guus
RE: cvs [login aborted]: unrecognized auth response from 10.5.0.30
-Original Message- From: Jimmy Lavoie [mailto:[EMAIL PROTECTED]] What is wrong with that? Which CVS Version? Guus
RE: cvs [login aborted]: unrecognized auth response from 10.5.0.30
-Original Message- From: Jimmy Lavoie [mailto:[EMAIL PROTECTED]] This is the line I add in /etc/inetd.conf cvspserver stream tcp nowait root /usr/bin/cvs \ cvs -f --allow-root=/src/cvs pserver Hmmm :) Should have spotted that earlier. Remove the \ and join both lines so that you and up with 1 line. Cheers, Guus
Re: cvs login to remote system
Alberto Toietta writes: (Logging in to alberto@sunultra) cvs [login aborted]: unrecognized auth response from sunultra: cvs = pserver: No CVSROOT specified! Please use the `-d' option I have specified -d Chances are you have an old version of CVS that was built without server support. I'd suggest getting the latest version (1.10.8) from www.cvshome.org and building it yourself. -Larry Jones You know how Einstein got bad grades as a kid? Well MINE are even WORSE! -- Calvin
Re: cvs login to remote system
Did you set the CVSROOT environment variable in profile? If you are running LINUX, see: http://www.michael-amorose.com/cvs/ -m - At 11:59 AM +0200 7/3/00, Alberto Toietta wrote: Problem: I want use CVS to a remote system where is the reposity. 1) I have modified /etc/inetd.conf cvspserverstreamtcpnowaitroot/usr/local/bin/cvs cvs--allow-root=/home2/users/alberto/repositypserver 2) reboot the system 3) I have created the file passwd in CVSROOT 4) Connect using the command cvs login to the remote reposity: cvs -d :pserver:alberto@sunultra:/home2/users/alberto/reposity login (Logging in to alberto@sunultra) cvs [login aborted]: unrecognized auth response from sunultra: cvs pserver: No CVSROOT specified! Please use the `-d' option I have specified -d Alberto Toietta
Re: cvs login giving unrecognized auth response
AC writes: # ./cvs login (Logging in to acox@omi-internal) CVS password: cvs [login aborted]: unrecognized auth response from omi-internal: cvs: invalid option -- o That looks like the server is not configured correctly -- see "Trouble making a connection to a CVS server" in the Cederqvist manual for troubleshooting advice. -Larry Jones Nobody knows how to pamper like a Mom. -- Calvin