From owner-freebsd-bugs Tue Sep 26 16:10: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9A47437B423 for ; Tue, 26 Sep 2000 16:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA19642; Tue, 26 Sep 2000 16:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/21583: CVS pserver - login succeeds but checkout fails with ": no such user" when user exists. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 26 16:10:01 PDT 2000 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message