hosts allow/deny question

Robert Dahlem Robert.Dahlem at gmx.net
Fri Aug 25 12:10:11 GMT 2000


Ben,

On Thu, 24 Aug 2000 12:09:54 +0200, dqpr10 at canal-plus.fr wrote:

>I would like to do something like this at Samba level:
>
>	hosts allow = subnet1/mask1 subnet2/mask2 etc
>	hosts deny = *
>
>But this doesn't seem to work (machine that are not in subnet1 and
>not in subnet2 still have access)

Try "hosts deny 0.0.0.0/0 EXCEPT subnet1/mask1 subnet2/mask2".

Regards,
        Robert


-- 
---------------------------------------------------------------
Robert.Dahlem at gmx.net           Fax +49-69-432647
---------------------------------------------------------------






More information about the samba mailing list