From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 09:20:16 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0264737B404 for ; Fri, 18 Apr 2003 09:20:16 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DE7043FA3 for ; Fri, 18 Apr 2003 09:20:15 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.nectar.cc (Postfix) with ESMTP id 948BA66; Fri, 18 Apr 2003 11:20:14 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id E78FC78C66; Fri, 18 Apr 2003 11:20:13 -0500 (CDT) Date: Fri, 18 Apr 2003 11:20:13 -0500 From: "Jacques A. Vidrine" To: Shizuka Kudo Message-ID: <20030418162013.GB45899@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Shizuka Kudo , freebsd-current@FreeBSD.org References: <20030418131930.GA11946@madman.celabo.org> <20030418161034.6660.qmail@web11408.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030418161034.6660.qmail@web11408.mail.yahoo.com> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 cc: freebsd-current@FreeBSD.org Subject: Re: HEADS UP: new NSS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 16:20:16 -0000 On Fri, Apr 18, 2003 at 09:10:34AM -0700, Shizuka Kudo wrote: > Hi Jacques, > > The named problem was resolved with your latest commits. However, I > found that 'passwd' was not working and gave the following error. Is > my nsswitch.conf having any problem (I only have 'passwd: files' and > 'group: files' in the nsswitch.conf)? > > %passwd > passwd: can't change little green men's passwords (0x3df) Hello Shizuka! No, it is not a problem with nsswitch.conf. It looks like getpwent(3) is not setting `_PWF_FILES' in pw_fields. This not too surprising for me, because at one point I was going to do away with _PWF_(FILES|NIS|HESIOD), until I realized that passwd(1) used them. I know I put them back for `nis' and `dns' (hesiod), but I must have missed files. Thanks for the catch! I will commit a fix shortly. Cheers, -- Jacques A. Vidrine http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se