Date: Wed, 3 Feb 1999 10:22:48 +0100 From: Ladavac Marino <mladavac@metropolitan.at> To: "'tarkhil@asteroid.svib.ru'" <tarkhil@asteroid.svib.ru>, Wes Peters <wes@softweyr.com> Cc: hackers@FreeBSD.ORG Subject: RE: YP-like mySQL thing Message-ID: <97A8CA5BF490D211A94F0000F6C2E55D097530@s-lmh-wi-900.corpnet.at>
next in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: Alex Povolotsky [SMTP:tarkhil@asteroid.svib.ru] > Sent: Wednesday, February 03, 1999 7:56 AM > To: Wes Peters > Cc: hackers@FreeBSD.ORG > Subject: Re: YP-like mySQL thing > > <36B7A3C0.AC423DEC@softweyr.com>Wes Peters writes: > >Alfred Perlstein wrote: > > >> cd /usr/src/lib/libc ; <modify> ; make clean ; make all ; make > install > > Wow... And it _will_ pick libmysqlclient.so when needed? > > I _do_ know how to run make, but the resulting libc.so fails to pick > libmysqlclient.so. > [ML] I am not acquainted with the ELF loader, but I think that the loader (ld.so) does not honor NEEDED segments in a shared library--it only honors NEEDED segments in the program; and the programs know nothing of your libmysqlclient.so :( What you could do is use dlopen() and dlsym() out of your getpw*() stubs in your version of libc.so. That should work. /Marino > >Alex, I suggest that if you think you need to modify libc to do this, > you > >probably have not thought about it enough. I've been watching this > thread > >for several days now, and wondering why it isn't sinking in that a > PAM > >module to access the MySQL database would do what you are asking for > >without modifying libc. That's why PAM was added. > They are in -STABLE, which is (AFAIK) not really stable now. BTW, will > PAM > allow me to _extend_ my password file? > > There is no manuals for pam in -stable CVS. BTW, how stable -STABLE is > right > now? > > Alex. > > -- > Alexander B. Povolotsky [ICQ 18277558] > [2:5020/145] [http://freebsd.svib.ru] [tarkhil@asteroid.svib.ru] > [Urgent messages: 234-9696 ΑΒ.#35442 or tarkhil@pager.express.ru] > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97A8CA5BF490D211A94F0000F6C2E55D097530>