hosts deny in smb.conf query

dave selby dave6502 at googlemail.com
Wed Jun 27 16:55:10 UTC 2007


Hi all,

In my smb.conf - I am trying to be security concious and have the
following couple of lines from
http://www.samba.org/samba/docs/server_security.html

[global]
...
# Only on my LAN
hosts allow = 127.0.0.1 192.168.0.0/24
hosts deny 0.0.0.0/0
...

testparm balks at host deny 0.0.0.0/0 with ...

params.c:Parameter() - Ignoring badly formed line in configuration
file: hosts deny 0.0.0.0/0

OK any ideas what I am doing wrong ?

Cheers

Dave

-- 

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




More information about the ubuntu-users mailing list