From owner-freebsd-bugs Tue Jul 6 15: 0: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F2C614E0F for ; Tue, 6 Jul 1999 15:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA47950; Tue, 6 Jul 1999 15:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from noneedto.tellme.com (noneedto.tellme.com [209.157.135.23]) by hub.freebsd.org (Postfix) with ESMTP id 38CBD14E0F for ; Tue, 6 Jul 1999 14:51:02 -0700 (PDT) (envelope-from root@noneedto.tellme.com) Received: (from root@localhost) by noneedto.tellme.com (8.9.3/8.9.3) id OAA00813; Tue, 6 Jul 1999 14:50:21 -0700 (PDT) (envelope-from root) Message-Id: <199907062150.OAA00813@noneedto.tellme.com> Date: Tue, 6 Jul 1999 14:50:21 -0700 (PDT) From: Charlie Root Reply-To: dannyman@dannyland.org To: FreeBSD-gnats-submit@freebsd.org Cc: dannyman@dannyland.org X-Send-Pr-Version: 3.2 Subject: bin/12538: getpwuid() NIS UID override fails Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12538 >Category: bin >Synopsis: getpwuid() NIS UID override fails >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 6 15:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: dannyman >Release: FreeBSD 3.2-RELEASE i386 >Organization: Tellme Networks >Environment: Running ypserv off a Linux box fine, attempting to set up workstation as NIS client for password: >Description: /etc/master.passwd: +dannyman::1001:0::::dannyman::/usr/local/bin/tcsh noneedto# id dannyman uid=1001(dannyman) gid=0(wheel) groups=0(wheel) noneedto# id 1001 id: 1001: no such user noneedto# ypmatch dannyman passwd dannyman:4hDtuhKllG8Xs:501:101::/home/dannyman:/bin/tcsh noneedto# id 501 uid=1001(dannyman) gid=0(wheel) groups=0(wheel) noneedto# finger dannyman Login: dannyman Name: dannyman Directory: /home/dannyman Shell: /usr/local/bin/tcsh Last login Tue Jul 6 14:38 (PDT) on ttyv0 No Mail. Mail forwarded to: danny@tellme.com No Plan. User can log in successfully. As far as I can tell from passwd(5), getpwuid should work. As it is, numerous programs, including sudo and ssh, fail. >How-To-Repeat: >Fix: If this not up anyone's ally, I could dig around the code myself. Just let me know. :) -danny >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message