Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2007 07:47:58 +0300
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Michael Bushkov <bushman@FreeBSD.org>
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
Message-ID:  <20071215044758.GB88672@darklight.org.ru>
In-Reply-To: <200712121008.lBCA83r2090165@repoman.freebsd.org>
References:  <200712121008.lBCA83r2090165@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd AT hansmi DOT ch>
>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071215044758.GB88672>