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

Rowland Penny rpenny at samba.org
Tue Oct 17 08:55:19 UTC 2017


On Tue, 17 Oct 2017 10:38:01 +0200
Reindl Harald via samba <samba at lists.samba.org> wrote:

> 
> 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
> 

Or just read 'man smb.conf'

Rowland



More information about the samba mailing list