[Samba] reverse veto files?

simo idra at samba.org
Sun Aug 6 17:27:00 GMT 2006

On Sun, 2006-08-06 at 10:16 -0700, Jeremy Allison wrote:
> On Sun, Aug 06, 2006 at 04:27:58PM +0200, Michael Gasch wrote:
> > Guido Lorenzutti wrote:
> > >Im currently having a very long list of veto files, just to be sure that
> > >the people ONLY can write documents and styleshets. Is there any plan to
> > >have a "reverse veto files" to ONLY allow this type of file? Because
> > >when I have a lot of veto files the samba gets too slow, even if it
> > >dosen't use regex, with regex i would be able to do the reverse veto.
> > >But without regex and without "reverse veto files" there is no way of
> > >doing this.
> > >
> > hi,
> > 
> > had the same question some time ago w/out real resolution.
> > please see "[HowTo] Only allow special files (extensions) in share ???".
> It should be reasonably easy to add a "reverse veto files" parameter.
> I'll look at it for 3.0.24. Remind me later (I have lots of other
> stuff to do...).

Jeremy, what about just extending the syntax of the veto files option
instead of creating a new one?

Something like if the veto files option starts with a '+' sign then the
specified files are the only one permitted instead of the only ones


Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org

More information about the samba mailing list