From owner-freebsd-hackers Tue Feb 2 00:29:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06980 for freebsd-hackers-outgoing; Tue, 2 Feb 1999 00:29:54 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06973 for ; Tue, 2 Feb 1999 00:29:52 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id DAA01767; Tue, 2 Feb 1999 03:33:23 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Tue, 2 Feb 1999 03:33:22 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Konstantin Chuguev cc: tarkhil@asteroid.svib.ru, hackers@FreeBSD.ORG Subject: Re: YP-like mySQL thing In-Reply-To: <36B6ADCA.6464C810@urc.ac.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 2 Feb 1999, Konstantin Chuguev wrote: > > Hello! > > > > I've made a patch to libc to allow YP-like extension of passwd file using mySQL. > > > > I can share it if anyone is interested, and I need an advise: how should I > > rebuild libc.so (or what else?) so that shared executables would pick > > libmysqlclient.so without rebuilding? > > > > I am very interesting in it. Actually, I need getpwent and getgrent to look at > PostgreSQL database. > But it is very similar to mySQL in the way of function calls. And it is much easier > to change your code slightly than the original libc code. > > About dynamic loading lib*.so from libc.so - I have the same question. > > It would be nice if FreeBSD has an abstract layer for getpwent/getgrent, similar to > PAM in the concept (you can name it "Pluggable Authorization Modules" :-) Are > there any plans of implementing this in 4.0? i think 3.0-release and later has pam. man pam -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message