[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re[2]: LDAP + quotas



On Sat, 28 Jul 2001 23:35, Sami Haahtinen wrote:
> On Sat, Jul 28, 2001 at 03:43:47AM +0200, Russell Coker wrote:
> > > Thanks for the reply.  This system could work.  But I think the real
> > > solution would be to devise a way to have system quotas read directly
> > > from LDAP.  Oh well.  C'est la vie.
> >
> > No way!  You want the kernel to issue something that results in an LDAP
> > read on every file access?
>
> something like NSS for quota lookups would be nice, and to have a
> caching daemon (like nscd) to store the data for later lookups.

nscd is only ever called by user-land code such as login, su, ls, etc.  Quota 
is handled by the kernel.  Having the kernel call back to an application for 
this isn't what you want.  What happens if/when that application needs to 
create a file?

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page



Reply to: