[Samba] Reverse Veto Files - let's try again!

Charles Marcus CMarcus at Media-Brokers.com
Wed Jul 29 12:39:49 MDT 2009

On 7/29/2009, Jeremy Allison (jra at samba.org) wrote:
>> Any preference for precedence of 'allowed files' vs 'veto files'?
>> Or would you want an apache-style 'Order allowed veto' option?
>> (please say no).

> veto files should take precedence.

The way postfix does this when blocking ip ranges but excepting certain
hosts, you specify the 'allowed' hosts first, then the ip range to be

They also use the ! character to mean 'NOT', so, in that context, if you
wanted to only allow .jpg files, it would be:

veto files = !*.jpg !*.jpeg *.*


Best regards,


More information about the samba mailing list