From owner-freebsd-ports Mon Jul 8 7: 0:19 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EB6637B401 for ; Mon, 8 Jul 2002 07:00:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D57B43E42 for ; Mon, 8 Jul 2002 07:00:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g68E05JU019010 for ; Mon, 8 Jul 2002 07:00:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g68E055C019009; Mon, 8 Jul 2002 07:00:05 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69CED37B400 for ; Mon, 8 Jul 2002 06:55:54 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3119C43E09 for ; Mon, 8 Jul 2002 06:55:54 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g68DtrOT055900 for ; Mon, 8 Jul 2002 06:55:53 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g68DtrkB055899; Mon, 8 Jul 2002 06:55:53 -0700 (PDT) Message-Id: <200207081355.g68DtrkB055899@www.freebsd.org> Date: Mon, 8 Jul 2002 06:55:53 -0700 (PDT) From: Russell Cattelan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/40343: getpwnam in perl 5.6.1 does not work with nis passwd files Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40343 >Category: ports >Synopsis: getpwnam in perl 5.6.1 does not work with nis passwd files >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 08 07:00:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Russell Cattelan >Release: 4.6 >Organization: Digital Elves Inc >Environment: FreeBSD congo.borg.umn.edu 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Jul 1 23:24:35 CDT 2002 root@congo.borg.umn.edu:/export/hose/cattelan/src4/sys/compile/CONGO i386 >Description: The getpw* functions do not appear to work correctly when using the ports version of perl (aka 5.6.1) congo[8:52am]#/usr/bin/perl5 /tmp/a.pl uuid 6969 congo[8:54am]#/usr/local/bin/perl5 /tmp/a.pl uuid >How-To-Repeat: Run this script looking up a user from NIS Note users in local passwd file work fine. #!/usr/local/bin/perl my $uuid = getpwnam('cattelan'); print "uuid $uuid\n"; >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message