[WBEL-users] Samba deny hosts, Allow hosts
Jan-Albert van Ree
javanree@vanree.net
Wed, 5 May 2004 19:20:18 +0200
On Wednesday 05 May 2004 17:21, Denis Croombs wrote:
> Hi
>
> I am having a major problem with stoping some systems from seeing a
> share, I have used Webmin to add the following to the smb.conf any clues
> as to why 10.0.0.16 can still see files in this share ?
>
> [staff]
> comment = confidential staff info
> path = /samba/staff
> hosts allow = 10.0.0.13 10.0.0.20
> hosts deny = 0.0.0.0/24
Leave out the hosts deny line.
Just specifying the allow means all other hosts are excluded by default.
--
Jan-Albert van Ree | http://www.vanree.net/brickpiles/
VanReeDotNet IT Solutions | http://www.vanree.net
GnuPG key | http://www.vanree.net/~javanree/publickey.asc