samba connection problem

Joel Hammer jhammer2 at home.com
Tue Nov 20 14:12:07 GMT 2001


I would run tcpdump -i eth0 (or eth1, etc) -n | grep 139.
See if the server and the client are at least talking to each other.
They do talk to each other if the hosts allow statement excludes the client.
I would also try removing the hosts allow statement entirely, if you haven't
tried that already.
I would also look at the logs. (log level = 3) Here is what I see when
hosts allow does not permit a connection from the client.
hammer2 is trying to connect to the server.

lib/access.c:only_ipaddrs_in_list(271)
  only_ipaddrs_in_list: list [localhost] has non-ip address localhost
lib/access.c:check_access(310)
  check_access: hostnames in host allow/deny list.
lib/access.c:check_access(322)
  Denied connection from hammer2.jhammer.org (192.168.0.2)
Joel

On Tue, Nov 20, 2001 at 12:53:24PM -0800, Soo Hom wrote:
> I made the changes in my previous email and restarted the machine.  I'm
> still getting :
> # ./smbclient -L song1
> added interface ip=132.239.228.172 bcast=132.239.255.255 nmask=255.255.0.0
> session request to SONG1 failed (Not listening for calling name)
> session request to *SMBSERVER failed (Not listening for calling name)
> 
> Any other suggestions?
> 
> Soo
> 
> 




More information about the samba mailing list