[PATCH] smbcquotas (client site quota support)

jra at dp.samba.org jra at dp.samba.org
Wed Mar 12 23:51:07 GMT 2003


On Thu, Mar 13, 2003 at 12:48:55AM +0100, Stefan (metze) Metzmacher wrote:
> At 23:32 12.03.2003 +0000, jra at dp.samba.org wrote:
> >On Thu, Mar 13, 2003 at 12:22:55AM +0100, Stefan (metze) Metzmacher wrote:
> > > Hi tridge,
> > >
> > > here's the patch that adds client site quota support to samba,
> > > with a util smbcquotas just like smbcalcs...
> > >
> > > this is able get and set user quotas
> > > and get and set the filesystem quota settings.
> > >
> >
> >This looks great ! Once this is in the tree I'll start adding
> >support for getting/setting quotas on the smbd server side of
> >things.
> 
> I have allready started with the server site.
> And the NT part is ready (only a few cleanups are needed)
> 
> and the unix site works on linux now and I'm working on the other platforms 
> too the next week.
> (tridge gives me access to IRIX, AIX, SUN machines
>   and I have a testdrive.hp.com account ...)
> 
> But maybe I'll make it work for platforms with the same quotactl prototype 
> like linux
> and then we can put it to CVS and you can maybe add an other quota system.
> 
> I also add vfs_get_quota() and vfs_set_quota() to the vfs layer.
> 
> so that module writers can add quota support for special quota systems...

The way to do the server side is to have a command escape for systems
that don't have an easy way to programatically get/set quotas. Like
the dfree command parameter. That way we can support all systems that
have quotas.

Jeremy.


More information about the samba-technical mailing list