[Samba] generating error message on smbclient -L apollo
Joel Hammer
Joel at HammersHome.com
Wed Feb 13 04:36:06 GMT 2002
Here is my global. I seem not to have a hosts deny statement! I don't need
it because this daemon only listens to my internal interface NIC, and I have
a firewall that keeps out unwanted visitors. Without the hosts deny
statement, I am not really sure if I need the hosts allow statement, but, it
works.
Joel
On Tue, Feb 12, 2002 at 07:22:16PM -0800, Dave Williams wrote:
# Global parameters
[global]
encrypt passwords = yes
netbios name = HAMMER2
interfaces = 192.168.0.2
security = SHARE
log level = 3
wins server = jhammer6
guest account = ftp
hosts allow = 192.168. 24.182.146.18 127.0.0.1 127.0.0.2
strict sync = Yes
veto files = /*.eml/*.nws/riched20.dll/
veto files = /*.{*}/
>
> Must be typo as both were set to netmask of 23.
>
> The problem (which has since been corrected) appeared to be with
> the line ...
>
> hosts deny = ALL
>
> Once I changed it to ...
>
> hosts deny = NONE
>
> It worked. The crazy thing about it, though, was that the docs themselves
> specifically stated to set up 'hosts deny = ALL', then to specify your
> 'hosts allow = {list of IP addresses}'.
>
> Did you specify a 'hosts deny = ALL' followed by a line that listed your IP
> addresses, or did you do it a different way ?
>
>
More information about the samba
mailing list