To compare to a database concept, if the LDAP daemon had `triggers' and
could execute code that made quotactl(2) calls on the relavent filesystems,
on the relavent machines, when the quota values in the LDAP database changed
that would be effective.  To determine current usage the LDAP daemon would
also have to use quotactl(2) to query the VFS though, unless current usage
simply was not provided as part of your LDAP schema.

- jsw


-----Original Message-----
From: Sami Haahtinen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:10 PM
To: [EMAIL PROTECTED]
Subject: Re: Re[2]: LDAP + quotas


On Tue, Jul 31, 2001 at 02:52:55PM +0200, Russell Coker wrote:
> > 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?

what i ment was something alike, a daemon that would monitor the
activity in quota related system calls and update the quota file by
itself..

i was not completely serious about the solution but it would be a nice
idea, i know that quotas can not rely on any daemon as such, but a
helper daemon would 'help' in many cases.

Sami

--
                          -< Sami Haahtinen >-
      -[ Is it still a bug, if we have learned to live with it? ]-
        -< 2209 3C53 D0FB 041C F7B1  F908 A9B6 F730 B83D 761C >-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to