Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2006 17:46:35 +1100
From:      Michael Vince <mv@roq.com>
To:        Hajimu UMEMOTO <ume@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 6-stable hosts.allow and samba
Message-ID:  <4405434B.6020304@roq.com>
In-Reply-To: <ygey7zv3bg8.wl%ume@mahoroba.org>
References:  <44042F08.9010606@roq.com> <ygey7zv3bg8.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hajimu UMEMOTO wrote:

>Hi,
>
>  
>
>>>>>>On Tue, 28 Feb 2006 22:07:52 +1100
>>>>>>Michael Vince <mv@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4405434B.6020304>