hosts allow/deny question

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


On Thu, 24 Aug 2000 12:09:54 +0200, dqpr10 at 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 EXCEPT subnet1/mask1 subnet2/mask2".


Robert.Dahlem at           Fax +49-69-432647

More information about the samba mailing list