Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2007 10:08:03 +0000 (UTC)
From:      Michael Bushkov <bushman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/include nsswitch.h src/lib/libc/gen getgrent.c getgrouplist.c src/lib/libc/net nsdispatch.c
Message-ID:  <200712121008.lBCA83r2090165@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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