From owner-freebsd-hackers Wed Feb 3 01:24:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA01126 for freebsd-hackers-outgoing; Wed, 3 Feb 1999 01:24:33 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from titan.metropolitan.at ([195.212.98.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA01121 for ; Wed, 3 Feb 1999 01:24:31 -0800 (PST) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id <1CLHR1AF>; Wed, 3 Feb 1999 10:26:38 +0100 Message-ID: <97A8CA5BF490D211A94F0000F6C2E55D097530@s-lmh-wi-900.corpnet.at> From: Ladavac Marino To: "'tarkhil@asteroid.svib.ru'" , Wes Peters Cc: hackers@FreeBSD.ORG Subject: RE: YP-like mySQL thing Date: Wed, 3 Feb 1999 10:22:48 +0100 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id BAA01122 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----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 ; ; 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