From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 06:19:33 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 F13AC37B401 for ; Fri, 18 Apr 2003 06:19:32 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47E1743F3F for ; Fri, 18 Apr 2003 06:19:32 -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 9FE1A66; Fri, 18 Apr 2003 08:19:31 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id F41C978C66; Fri, 18 Apr 2003 08:19:30 -0500 (CDT) Date: Fri, 18 Apr 2003 08:19:30 -0500 From: "Jacques A. Vidrine" To: Zherdev Anatoly , freebsd-current@FreeBSD.org Message-ID: <20030418131930.GA11946@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Zherdev Anatoly , freebsd-current@FreeBSD.org References: <20030417141133.GA4155@madman.celabo.org> <20030418120536.4a8b0a56.tolyar@mx.ru> <20030418125455.GA8207@madman.celabo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030418125455.GA8207@madman.celabo.org> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 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 13:19:33 -0000 On Fri, Apr 18, 2003 at 07:54:55AM -0500, Jacques A. Vidrine wrote: > On Fri, Apr 18, 2003 at 12:05:36PM +0400, Zherdev Anatoly wrote: > > On Thu, 17 Apr 2003 09:11:33 -0500 > > "Jacques A. Vidrine" wrote: > > > > After install -current with this patches named can't find user bind > > > > #id bind > > uid=53(bind) gid=53(bind) groups=53(bind) > > > > #/usr/sbin/named -u bind -g bind > > user "bind" unknown > > Holy schnikeys, apparently bind doesn't use the libc getpwent(3) > functions, but rather it uses its own libirs. > > Did you re-run pwdb_mkdb ? If I messed up the backwards-compatibility > code, then I suppose it could break libirs (which apparently has > intimate knowledge of the format of /etc/pwd.db -- ugh). > > I'm investigating. Oh, duh. If named weren't re-compiled it would have been fine :-) pwd_mkdb is creating the compatibility entries correctly, but the _PW_KEYBY* symbols in pwd.h changed values and libirs uses those. For now I will see about giving _PW_KEYBY* their old values back, because I don't want to take part of bind off the vendor branch in CVS. Thanks for the report! Cheers, -- Jacques A. Vidrine http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se