HEADS UP: new NSS
Max Khon
fjoe at iclub.nsu.ru
Thu Apr 17 11:55:59 PDT 2003
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
More information about the freebsd-current
mailing list