1
I am trying to debug a samba share problem with ubuntu 9.10.
Ubuntu 9.10 shares a folder, try to access from WinXP. WinXP can't see the folder.
Use netstat -anp command I found that smbd is only accept socket connection on 139 on tcp6 but not in tcp. (IPv4). Do anyone know if this is the cause the my connection problem? If so, how to fix this?
On the working samba share system (FC11), I can see the smbd is waiting in tcp port 139 and not in tcp6.
Thank
root@tlee-vm:~# netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1024/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1281/cupsd
tcp 16 0 192.168.64.141:58996 10.81.24.191:445 ESTABLISHED 3647/gvfsd-smb
tcp 24 0 127.0.1.1:40058 127.0.1.1:139 ESTABLISHED 3677/gvfsd-smb-brow
tcp 0 0 192.168.18.140:22 192.168.18.1:4107 ESTABLISHED 3953/sshd: tlee [pr
tcp6 0 0 :::139 :::* LISTEN 3104/smbd
tcp6 0 0 :::22 :::* LISTEN 1024/sshd
tcp6 0 0 ::1:631 :::* LISTEN 1281/cupsd
tcp6 0 0 :::445 :::* LISTEN 3104/smbd
tcp6 0 0 127.0.1.1:139 127.0.1.1:40058 ESTABLISHED 3679/smbd
udp 0 0 0.0.0.0:47032 0.0.0.0:* 891/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 891/avahi-daemon: r
udp 0 0 192.168.18.140:137 0.0.0.0:* 3100/nmbd
udp 0 0 192.168.64.140:137 0.0.0.0:* 3100/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 3100/nmbd
udp 0 0 192.168.18.140:138 0.0.0.0:* 3100/nmbd
udp 0 0 192.168.64.140:138 0.0.0.0:* 3100/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 3100/nmbd
is samba binding to the interfaces properly? please include your samba config (
smb.conf
) so we can troubleshoot. – quack quixote – 2009-12-22T18:41:23.933