Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2003 10:38:31 -0500
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        John Polstra <jdp@polstra.com>
Cc:        current@freebsd.org
Subject:   Re: HEADS UP: new NSS
Message-ID:  <20030417153830.GA13319@madman.celabo.org>
In-Reply-To: <200304171535.h3HFZEFs094589@strings.polstra.com>
References:  <20030417141133.GA4155@madman.celabo.org> <1050590195.76150.8.camel@owen1492.uf.corelab.com> <20030417144449.GA4530@madman.celabo.org> <200304171535.h3HFZEFs094589@strings.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 17, 2003 at 08:35:14AM -0700, John Polstra wrote:
> You might want to look at how libpam handles this situation.  In the
> static case, all of the known modules are linked into it statically.
> Then they are located and registered at runtime by means of a linker
> set.

Something similar is supported.  You edit
src/lib/libc/net/nss_backends.h to add your module.  You don't likely
want to do this with large things like nss_ldap :-) but I plan to
bring nss_winbind into the base system in that fashion (nss_winbind is
fairly small stub).

Cheers,
-- 
Jacques A. Vidrine <nectar@celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine@verio.net     .  nectar@FreeBSD.org  .          nectar@kth.se



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