Re: HEADS UP: new NSS

From: John Polstra <jdp_at_polstra.com>
Date: Thu, 17 Apr 2003 08:35:14 -0700 (PDT)
In article <20030417144449.GA4530_at_madman.celabo.org>,
Jacques A. Vidrine <nectar_at_freebsd.org> wrote:
> On Thu, Apr 17, 2003 at 09:36:35AM -0500, Craig Boston wrote:
> > Out of curiosity, how do the staticly-linked binaries in /bin and /sbin
> > handle this since they can't dlopen anything?  Do users handled by
> > dynamically-loaded NSS modules just show up as UIDs with no name in
> > /bin/ls?
> 
> Yep.
> The following is a work-around:
> 
>    cd /usr/src/bin/ls
>    make clean
>    make NOSHARED=NO depend
>    make NOSHARED=NO
>    make NOSHARED=NO install

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.

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa
Received on Thu Apr 17 2003 - 06:35:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC