max size and quotas
David Lee
T.D.Lee at durham.ac.uk
Wed Nov 3 10:08:06 GMT 1999
On Fri, 22 Oct 1999, Todd Pfaff wrote:
> On Fri, 22 Oct 1999, Peter J. Holzer wrote:
>
> > [...]
> > Quotas are better.
> >
> > BTW: Does anybody have a good idea to alert users once they exceed their
> > soft quotas? Right now I'm sending an email once per day, but I think
> > the warning should be more immediate unfortunately there doesn't seem to
> > be any non-polling way to detect this condition so the best thing I can
> > think of is calling repquota rather frequently (e.g. once per half-hour)
> > and notifying users via winpopup if they haven't already been notified.
>
> i think this would be very useful if handled at a lower level within
> samba.
>
> what i envision is that whenever an open, create, or write fails, the
> samba server could detect that the cause of the failure was a quota
> violation and then call an exception handler defined in smb.conf.
> the exception handler could call winpopup or whatever to alert the user.
>
> does this sound doable? would it require major changes to the guts of
> samba?
Has there been any follow-up on this? We would very much like such a
facility here, including, if possible, warning users of impending danger
as they exceed their soft quota limit.
But is this "smb.conf" the best implementation? Is the functionality
possible within SMB/CIFS? Would the latter, if technically possible, be
better?
I'd be happy to take a first look myself. But I know very little (read
"nothing") about SMB/CIFS protocol details.
Where can I begin reading about the details of open/read/write calls in
SMB/CIFS and/or conveying information/warning/error details? I have seen
(though not read in detail!) RFC1001 and RFC1002. Is this the best (or
most appropriate/relevant) source?
--
: David Lee I.T. Service :
: Systems Programmer Computer Centre :
: University of Durham :
: http://www.dur.ac.uk/~dcl0tdl South Road :
: Durham :
: Phone: +44 191 374 2882 U.K. :
More information about the samba-technical
mailing list