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

Ronald F. Guilmette rfg at tristatelogic.com
Tue Oct 17 02:24:48 UTC 2017


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.



More information about the samba mailing list