Web lists-archives.com

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




On Tue, 17 Oct 2017 10:38:01 +0200
Reindl Harald via samba <samba@xxxxxxxxxxxxxxx> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba