From owner-freebsd-hackers Wed Feb 3 09:52:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA19071 for freebsd-hackers-outgoing; Wed, 3 Feb 1999 09:52:45 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wind.freenet.am ([194.151.101.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA19049 for ; Wed, 3 Feb 1999 09:52:23 -0800 (PST) (envelope-from casper@acc.am) Received: from lemming.acc.am (acc.freenet.am [194.151.101.251]) by wind.freenet.am (8.9.1/8.9.1) with ESMTP id VAA22831; Wed, 3 Feb 1999 21:51:15 +0400 (GMT) Received: from acc.am (nightmar.acc.am [192.168.100.108]) by lemming.acc.am (8.9.1a/8.9.1) with ESMTP id WAA18901; Wed, 3 Feb 1999 22:15:58 +0400 (AMT) Message-ID: <36B88066.349DA9B3@acc.am> Date: Wed, 03 Feb 1999 20:59:18 +0400 From: Casper Organization: Armenian Computer Center X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: tarkhil@asteroid.svib.ru CC: hackers@FreeBSD.ORG Subject: Re: YP-like mySQL thing References: <199902020728.KAA06671@shuttle.svib.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What about having separate dynamic loadable modules with standard API for doing authorization/access control , simulate getpw*() functions & etc .... Modules list to read into may be hard-coded into libc or it may be read during system boot .... IMHO, in this case you need to have separate functions that using only master.passwd to read configuration. About setting up quotas : We need to change all file/directories access functions to make quotas work ... another way is to create separate file system that will use database (SQL server & etc.) instead quota.user ... In both cases we getting high SQL load (also high network load if SQL server not placed on local machine), because each file I/O operation will cause SQL request. Alex Povolotsky 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? > > 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