The Samba-Bugzilla – Bug 3149
smb.conf - improve topic: hosts deny (S)
Last modified: 2005-10-17 08:55:30 UTC
Please add following to the smb.conf(1) manual page section. It would
be good if "ALL" and "0.0.0.0/0" were mentioned.
hosts deny (S)
The opposite of hosts allow - hosts listed here are NOT per-
mitted access to services unless the specific services have
their own lists to override this one. Where the lists con-
+ flict, the allow list takes precedence. If you want to
+ deny all by default, use keyword ALL or netmask 0.0.0.0/0
+ and then explicitly allow hosts with "hosts allow".
Default: hosts deny = # none (i.e., no hosts specifically
Example: hosts deny = 150.203.4. badhost.mynet.edu.au
Thank you. This has been added.
- John T.