Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 1999 14:50:21 -0700 (PDT)
From:      Charlie Root <root@noneedto.tellme.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dannyman@dannyland.org
Subject:   bin/12539: getpwuid() NIS UID override fails
Message-ID:  <199907062150.OAA00813@noneedto.tellme.com>

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

>Number:         12539
>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




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