Date: Wed, 03 Feb 1999 20:59:18 +0400 From: Casper <casper@acc.am> To: tarkhil@asteroid.svib.ru Cc: hackers@FreeBSD.ORG Subject: Re: YP-like mySQL thing Message-ID: <36B88066.349DA9B3@acc.am> References: <199902020728.KAA06671@shuttle.svib.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B88066.349DA9B3>