Re: cvs commit: src/include nsswitch.h src/lib/libc/gen getgrent.c getgrouplist.c src/lib/libc/net nsdispatch.c

From: Yuri Pankov <yuri.pankov_at_gmail.com>
Date: Sat, 15 Dec 2007 07:47:58 +0300
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
Received on Sat Dec 15 2007 - 03:59:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC