From owner-freebsd-current@FreeBSD.ORG Sat Dec 15 04:59:12 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EE8716A417; Sat, 15 Dec 2007 04:59:12 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2C08313C4DB; Sat, 15 Dec 2007 04:59:10 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.2/8.14.2) with ESMTP id lBF4lxN8007348; Sat, 15 Dec 2007 07:48:00 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.2/8.14.2/Submit) id lBF4lwRk007347; Sat, 15 Dec 2007 07:47:58 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Sat, 15 Dec 2007 07:47:58 +0300 From: Yuri Pankov To: Michael Bushkov Message-ID: <20071215044758.GB88672@darklight.org.ru> References: <200712121008.lBCA83r2090165@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200712121008.lBCA83r2090165@repoman.freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: current@FreeBSD.org Subject: Re: cvs commit: src/include nsswitch.h src/lib/libc/gen getgrent.c getgrouplist.c src/lib/libc/net nsdispatch.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 15 Dec 2007 04:59:12 -0000 On Wed, Dec 12, 2007 at 10:08:03AM +0000, Michael Bushkov wrote: > bushman 2007-12-12 10:08:03 UTC > > FreeBSD src repository > > Modified files: > include nsswitch.h > lib/libc/gen getgrent.c getgrouplist.c > lib/libc/net nsdispatch.c > Log: > Implementing 'fallback' nsswitch source. 'fallback' source is used > when particular function can't be found in nsswitch-module. For > example, getgrouplist(3) will use module-supplied 'getgroupmembership' > function (which can work in an optimal way for such source as LDAP) and > will fall back to the stanard iterate-through-all-groups implementation > otherwise. > > PR: ports/114655 > Submitted by: Michael Hanselmann > Reviewed by: brooks (mentor) > > Revision Changes Path > 1.5 +3 -1 src/include/nsswitch.h > 1.37 +190 -74 src/lib/libc/gen/getgrent.c > 1.16 +4 -39 src/lib/libc/gen/getgrouplist.c > 1.15 +26 -3 src/lib/libc/net/nsdispatch.c I'm getting debug.log filled up with: NSSWITCH(nss_method_lookup): __fallback, passwd, getpwuid_r, not found Could this be related to this commit or is it PEBKAC? Yuri