HEADS UP: new NSS

John Polstra jdp at polstra.com
Thu Apr 17 08:35:16 PDT 2003


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



More information about the freebsd-current mailing list