FreeBSD 6-stable hosts.allow and samba
Michael Vince
mv at roq.com
Tue Feb 28 22:46:43 PST 2006
Hajimu UMEMOTO wrote:
>Hi,
>
>
>
>>>>>>On Tue, 28 Feb 2006 22:07:52 +1100
>>>>>>Michael Vince <mv at roq.com> said:
>>>>>>
>>>>>>
>
>mv> I checked the logs like hell on (enabled all.log) and saw nothing, no
>mv> server rejections nothing. In log.nmbd I did see a bunch of nice
>mv> messages like host resolution and master browser successful elections etc.
>
>mv> After trying just about everything to connect to the Samba I enabled
>mv> "ALL : ALL : allow" in hosts.allow as a last resort and boom there comes
>mv> up my samba server via MS windows.
>
>mv> This is what I had in hosts.allow below.
>
>mv> ALL : localhost 127.0.0.1 : allow
>mv> ALL : 192.168.0. : allow
>mv> ALL : ALL \
>mv> : severity auth.info \
>mv> : twist /bin/echo "You are not welcome to use %d from %h."
>
>It's strange. I've just tested it on my box but with ftp. It seems
>working fine.
>
>Sincerely,
>
>--
>
>
Actually I think jumped the gun a bit and may have to retract some of
what I said.
It appears I failed to look at the samba.sh init script properly which
is created in a way where 'samba_enable="YES"' only loads the nmbd
daemon and not the more important smbd daemon for actual shares, I
should of had this in my rc.conf
nmbd_enable="YES"
smbd_enable="YES"
Mike
More information about the freebsd-stable
mailing list