Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 06:55:53 -0700 (PDT)
From:      Russell Cattelan <cattelan@thebarn.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/40343: getpwnam in perl 5.6.1 does not work with nis passwd files
Message-ID:  <200207081355.g68DtrkB055899@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207081355.g68DtrkB055899>