Limit the size of file sended to samba server

Simo Sorce idra at samba.org
Mon Nov 22 17:56:32 GMT 2004


On Mon, 2004-11-22 at 17:29, Marek Grac wrote:
> Hi,
> 
> On Thu, 18 Nov 2004, Nicolas Ecarnot wrote:
> 
> > Hi,
> >
> > I made many searches on every samba list, but I didn't find anything, so I 
> > guess this doesn't exist.
> > May you tell me if this is planned :
> >
> >> I'm looking for a way to prevent users to send BIG files to a samba 
> >> server.
> >> 
> >> How would you do that (except napalm) ?
> 
> I think that is work for VFS. You will have to take skeleton of 
> transparent VFS and write there test for writing file to samba. Using this 
> solution, you can test only files with several extensions (mpg, avi)

What about quotas?

Simo.
-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it



More information about the samba-technical mailing list