Re: [PATCH] smbcquotas (client site quota support)

2003-03-13 Thread Stefan (metze) Metzmacher
At 00:22 13.03.2003 +0100, Stefan (metze) Metzmacher wrote:

If someone want to apply this patch please ask for an actuall patch against 
the latest HEAD.

I merged in jra's unsigned fixes and some little formatting fixes to my 
local tree.



metze
-
Stefan metze Metzmacher [EMAIL PROTECTED] 



Re: [PATCH] smbcquotas (client site quota support)

2003-03-12 Thread jra
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.

Great work ! Thanks !

Jeremy.


Re: [PATCH] smbcquotas (client site quota support)

2003-03-12 Thread Stefan (metze) Metzmacher
At 23:32 12.03.2003 +, [EMAIL PROTECTED] 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...



metze
-
Stefan metze Metzmacher [EMAIL PROTECTED] 



Re: [PATCH] smbcquotas (client site quota support)

2003-03-12 Thread jra
On Thu, Mar 13, 2003 at 12:48:55AM +0100, Stefan (metze) Metzmacher wrote:
 At 23:32 12.03.2003 +, [EMAIL PROTECTED] 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.


Re: [PATCH] smbcquotas (client site quota support)

2003-03-12 Thread Stefan (metze) Metzmacher
At 23:51 12.03.2003 +, [EMAIL PROTECTED] wrote:
On Thu, Mar 13, 2003 at 12:48:55AM +0100, Stefan (metze) Metzmacher wrote:
 At 23:32 12.03.2003 +, [EMAIL PROTECTED] 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.
yep we can also do that, but we also have a disk_free() function in the vfs 
layer.
so both ways should be there, to make much people happy:-)


Jeremy.


metze
-
Stefan metze Metzmacher [EMAIL PROTECTED]