Bug 3149 - smb.conf - improve topic: hosts deny (S)
smb.conf - improve topic: hosts deny (S)
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Docs
3.0.20a
All Linux
: P3 enhancement
: none
Assigned To: Samba Bugzilla Account
Samba Documentation QA Contact~
http://bugs.debian.org/273480
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-06 14:20 UTC by Noël Köthe
Modified: 2005-10-17 08:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noël Köthe 2005-10-06 14:20:28 UTC
Hello,

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

              Example: hosts deny = 150.203.4. badhost.mynet.edu.au

thx.
Comment 1 John H Terpstra 2005-10-17 08:45:58 UTC
Thank you. This has been added.

- John T.