From nobody@FreeBSD.ORG Tue Sep 26 16:08:29 2000 Return-Path: Received: by hub.freebsd.org (Postfix, from userid 32767) id F007B37B423; Tue, 26 Sep 2000 16:08:28 -0700 (PDT) Message-Id: <20000926230828.F007B37B423@hub.freebsd.org> Date: Tue, 26 Sep 2000 16:08:28 -0700 (PDT) From: matthewh@rds.co.nz Sender: nobody@FreeBSD.ORG To: freebsd-gnats-submit@FreeBSD.org Subject: CVS pserver - login succeeds but checkout fails with ": no such user" when user exists. X-Send-Pr-Version: www-1.0 >Number: 21583 >Category: misc >Synopsis: CVS pserver - login succeeds but checkout fails with ": no such user" when user exists. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 26 16:10:01 PDT 2000 >Closed-Date: Thu May 31 19:02:19 PDT 2001 >Last-Modified: Thu May 31 19:02:54 PDT 2001 >Originator: Matthew Hook >Release: 4.1 >Organization: R&D Solutionz Ltd >Environment: FreeBSD alcatraz.rds.co.nz 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Sun Sep 24 22:10: 30 NZST 2000 root@alcatraz2.rds.co.nz:/usr/src/sys/compile/ALCATRAZ i386 >Description: I upgraded a RedHat Linux Server to FreeBSD 4.1. The CVS Repository was copied accross and set up. All the users were added to the system with identical login names and passwords as originally configured. After the install, cvs login would succeed. However, cvs co would fail with the following error. > cvs co CVSROOT :pserver:matthewh@alcatraz:/codestore co CVSROOT Fatal error, aborting. : no such user ... By the way, I am using CVS pserver on the FreeBSD server and cvs on winnt machines as the clients. I also had exactly the same error when using the client/server checkout from the same FreeBSD server. >How-To-Repeat: When I installed the system I answered no to install Crypto and use MD5 passwords (I think). >Fix: I downloaded and compiled the latest version of CVS (1.11) from cvshome.org. After running "./configure" then "make" and finally "make install", the problem was immediately fixed. From what I could understand and after scouring the Internet for information, a call to getpwnam() in the CVS code was failing to find the login name. So it must have been a problem with that version of CVS (not FreeBSD) for the problem to be fixed with an upgrade to CVS. >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: dd State-Changed-When: Thu May 31 19:02:19 PDT 2001 State-Changed-Why: If it wasn't a FreeBSD problem, why did you file a FreeBSD problem report? http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21583 >Unformatted: