__yp_match_flush ??

From: Michael Matthews <matthewm_at_sgate.com>
Date: Tue, 8 Aug 1995 09:12:46 -0400 (EDT)

A while ago I had asked the list about why su thought it couldn't run from an
rc script. Well, as a result, our DEC reps sent me some patches for
/usr/shlib/libsecurity.so and /usr/lib/libsecurity.a.

Those fixed the su problem, but broke S/Key. I kept getting this error:

  894:/usr/bin/login: /sbin/loader: Error: unresolvable symbol in
/usr/shlib/libsecurity.so: __yp_match_flush
  894:/usr/bin/login: /sbin/loader: Fatal Error: this executable has
unresolvable symbols
Connection closed.

I looked in libsecurity.so, and the new one does indeed have a reference to a
function __yp_match_flush:

[nm libsecurity.so | grep ...]
__yp_match_flush | 0000000000000000 | U | 0000000000000008

while the original one does not.

Now, I can hack the S/Key login program to include a null __yp_match_flush
function, and that allows me to log in, *but* I'm a little hesitant of
replacing a function that is referenced in libsecurity.so (but not the new
libsecurity.a I might add) with basically nothing. What is __yp_match_flush
supposed to do? Or, is it really supposed to be in libsecurity.so?

------------------------------------------------------------------------------
Mike Matthews, Mike_Matthews_at_sgate.com (NeXTmail accepted)
Received on Tue Aug 08 1995 - 15:37:39 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT