[Samba] hosts allow / hosts deny (CIDRs?)

Reindl Harald h.reindl at thelounge.net
Tue Oct 17 08:38:01 UTC 2017


Am 17.10.2017 um 04:24 schrieb Ronald F. Guilmette via samba:
> Just a trivial question...
> 
> Do the hosts allow and hosts deny clauses (i.e. within smb.conf) support
> the use of IPv4 CIDR notation (e.g. A.B.C.D/maskbits) ?
> 
> The specific documentation page I was looking at, i.e.:
> 
>     https://www.samba.org/samba/docs/using_samba/ch06.html
> 
> was rather entirely ambiguous on this one small point.  When describing
> the interfaces clause, it says explicitly that CIDRs are allowed.  But
> when it comes to hosts allow and hosts deny, the same page is silent
> about CIDR notation.
> 
> So, you know, I have to ask

yes they do and you could have easily tried it out



More information about the samba mailing list