From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 10:47:40 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 630EF37B404 for ; Fri, 18 Apr 2003 10:47:40 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B93D43FE3 for ; Fri, 18 Apr 2003 10:47:39 -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 D17C266 for ; Fri, 18 Apr 2003 12:47:38 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id 31A6978C66; Fri, 18 Apr 2003 12:47:38 -0500 (CDT) Date: Fri, 18 Apr 2003 12:47:38 -0500 From: "Jacques A. Vidrine" To: current@freebsd.org Message-ID: <20030418174738.GH45899@madman.celabo.org> References: <20030418162813.GA714@juno.home.paeps.cx> <20030418165124.GE45899@madman.celabo.org> <20030418173111.GF714@juno.home.paeps.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030418173111.GF714@juno.home.paeps.cx> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 Subject: Re: Latest world NIS woes 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 17:47:40 -0000 On Fri, Apr 18, 2003 at 07:31:11PM +0200, Philip Paeps wrote: > Works as root, but root is a local user. Should I test by putting root in my > NIS-map? Not necessary, but I think you would have found that it worked. > > What is the GDB output of `info reg' ? > > (gdb) info reg [...] > edi 0x0 0 [...] Yeah, I think that was `strlen(NULL)'. I committed a fix a few moments ago --- will u give it a go? You should be able to grab src/lib/libc/gen/getpwent.c 1.74 and rebuild libc. (Actually, some other, unrelated fix went in earlier today, so you if you don't want to cvs update and buildworld, you need to be sure to get both: src/lib/libc/gen/getpwent.c 1.74 src/include/pwd.h 1.15 and install pwd.h in /usr/include before rebuilding libc.) Cheers, -- Jacques A. Vidrine http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se