Date: Fri, 30 May 2003 09:27:53 +0900 (JST) From: TOMITA Yoshinori <yoshint@flab.fujitsu.co.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/52792: users on NIS+ passwd database cannot login into FreeBSD 5.1-BETA Message-ID: <200305300027.h4U0RrSd000842@laksmi.proc.flab.fujitsu.co.jp> Resent-Message-ID: <200305300030.h4U0U1TW069644@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52792 >Category: bin >Synopsis: users on NIS+ passwd database cannot login into FreeBSD 5.1-BETA >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 29 17:30:01 PDT 2003 >Closed-Date: >Last-Modified: >Originator: TOMITA Yoshinori >Release: FreeBSD 5.1-BETA i386 >Organization: >Environment: System: FreeBSD laksmi 5.1-BETA FreeBSD 5.1-BETA #1: Wed May 28 14:01:30 JST 2003 yoshin-t@laksmi:/usr/src/sys/i386/compile/Laksmi i386 >Description: Since src/lib/libc/gen/getpwent.c revision 1.70, getpwent(3) calls "yp_order", precisely in nis_map() function. yp_order is not supportted by NIS+ in YP comatible mode servers. This is denoted in getpwent.c of revision 1.69, also in current src/lib/libc/yp/yplib.c. Due to yp_oredr failure for NIS+ server, nis_passwd() in getpwent.c stops looking up passwd.by*(or master.passwd.by*) maps. After all, users on NIS+ passwd are ignored. >How-To-Repeat: Please try NIS+ in YP compatible mode such as Solaris. Any users on NIS+ passwd database cannot login into FreeBSD 5-Current. >Fix: Replacing yp_order() by yp_master() in nis_map(), it seems working fine for me. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305300027.h4U0RrSd000842>