Re: HEADS UP: new NSS

From: Max Khon <fjoe_at_iclub.nsu.ru>
Date: Fri, 18 Apr 2003 01:45:01 +0700
hi, there!

On Thu, Apr 17, 2003 at 08:35:14AM -0700, John Polstra 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.

statically linking pam_ldap to /bin/ls will be a nightmare :)
we need either allow dlopen(3) to be used in statically linked programs
or move to dynamically linked /.

/fjoe
Received on Thu Apr 17 2003 - 09:55:58 UTC

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