From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 27 08:30:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583401065676 for ; Tue, 27 Oct 2009 08:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1B8828FC1C for ; Tue, 27 Oct 2009 08:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9R8U1FO095930 for ; Tue, 27 Oct 2009 08:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9R8U14U095929; Tue, 27 Oct 2009 08:30:01 GMT (envelope-from gnats) Resent-Date: Tue, 27 Oct 2009 08:30:01 GMT Resent-Message-Id: <200910270830.n9R8U14U095929@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volker Jahns Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E1471065670 for ; Tue, 27 Oct 2009 08:23:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2DE178FC14 for ; Tue, 27 Oct 2009 08:23:58 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9R8NvJA052469 for ; Tue, 27 Oct 2009 08:23:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9R8NvAa052456; Tue, 27 Oct 2009 08:23:57 GMT (envelope-from nobody) Message-Id: <200910270823.n9R8NvAa052456@www.freebsd.org> Date: Tue, 27 Oct 2009 08:23:57 GMT From: Volker Jahns To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/140009: configuration issue NIS in /etc/nsswitch.conf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 08:30:02 -0000 >Number: 140009 >Category: conf >Synopsis: configuration issue NIS in /etc/nsswitch.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 27 08:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Volker Jahns >Release: 7.2 release >Organization: Thalreit UNIX >Environment: FreeBSD pegasus.mydomain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: actual behaviour: ----------------- database source entry 'compat' for Database passwd in '/etc/nsswitch.conf' will result in failure of name lookup for user entries: -- user1@pegasus ~ > id user2 id: user2: no such user -- Changing to database source entry 'files nis' will succeed in name lookup -- user1@pegasus ~ > id user2 uid=ppp(user2) gid=nnn(group2) groups=nnn(group2),5(operator),0(wheel),80(www) -- n.b. - user1 is local user, user2 distributed via NIS. - FreeBSD 6.2-stable is distributed with identical /etc/nsswitch.conf and works with NIS out of the box. desired behaviour: ------------------ correct documentation and/or nsdispatch to be compatible with older installations. further information: -------------------- jahns@pegasus ~ > diff /etc/nsswitch.conf nsswitch.conf 1,4d0 < # < # nsswitch.conf(5) - name service switch configuration file < # $FreeBSD: src/etc/nsswitch.conf,v 1.1.8.1 2009/04/15 03:14:26 kensmith Exp $ < # 9c5 < passwd: files nis --- > passwd: compat >How-To-Repeat: >Fix: Edit nsswitch.conf on FreeBSD 7.2 and change entry of database passwd from -- passwd: compat -- into -- passwd: files nis -- >Release-Note: >Audit-Trail: >Unformatted: