name server problems: tcpdump shows "tcp port netbios-ssn unreachable"
Adam Monsen
meonkeys at hotmail.com
Fri Apr 27 08:43:17 GMT 2001
Ahh, many sleepless nights spent on a stinky Windows 98 box!
I'm using Samba 2.2.0 with Red Hat Linux 7.1, and am having trouble
resolving the samba server. I went through the "fault tree" in the "Using
Samba" book, and this was the section I got stuck on. Do I need to be
running a name server besides nmbd? nmblookup returns some results:
----------8<----------
[root at exodus samba]# nmblookup -d2 exodus bruski
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
querying exodus on 192.168.1.255
name_query failed to find name exodus
querying bruski on 192.168.1.255
Got a positive name query response from 192.168.1.100 ( 192.168.1.100 )
192.168.1.100 bruski<00>
----------8<----------
bruski is a Win98 box, exodus is the samba server. smbclient works fine on
the server, but the Win98 box never sees the server. When I try the domain
logon, it says "No domain server was available to validate your password..."
Here's my smb.conf. It's not at all secure, but that's not an issue right
now.
----------8<----------
[global]
workgroup = PANAMA
netbios name = EXODUS
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = yes
domain master = yes
allow trusted domains = yes
dns proxy = yes
hosts allow = 192.168.1. 127. 192.168.1.100
printing = lprng
# this next one is dangerous!!!
browseable = yes
wins support = yes
name resolve order = wins lmhosts bcast
encrypt passwords = no
null passwords = yes
remote announce = 192.168.1.2/exodus
[homes]
comment = Home Directories
writeable = yes
browseable = yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = yes
browseable = no
[test]
comment = For testing only, please
path = /tmp
read only = no
guest ok = yes
browseable = yes
----------8<----------
here's some stuff from smbclient:
----------8<----------
[root at exodus lib]# smbclient -U% -L exodus
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 127.0.0.1 ( 192.168.1.2 )
Domain=[PANAMA] OS=[Unix] Server=[Samba 2.2.0]
Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
test Disk For testing only, please
IPC$ IPC IPC Service (Samba Server)
ADMIN$ Disk IPC Service (Samba Server)
Server Comment
--------- -------
EXODUS Samba Server
Workgroup Master
--------- -------
PANAMA EXODUS
[root at exodus lib]# smbclient -U% -L bruski
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 127.0.0.1 ( 192.168.1.100 )
Sharename Type Comment
--------- ---- -------
C Disk main hd
IPC$ IPC Remote Inter Process Communication
Server Comment
--------- -------
BRUSKI Bruce Scott was here
Workgroup Master
--------- -------
PANAMA BRUSKI
----------8<----------
yet more info, this time from tcpdump (I cropped out two interesting
entries). The first error (...ssn unreachable...) goes away after one
appearance, but the second one (...ns...) is recurring.
----------8<----------
[root at exodus /root]# tcpdump -v -s 255 -i eth0 port not telnet
...
23:58:18.463315 > exodus.panama.net > bruski.panama: icmp: exodus.panama.net
tcp port netbios-ssn unreachable (DF) [tos 0xc0] (ttl 255, id 16706)
...
23:58:43.463315 > exodus.panama.net > bruski.panama: icmp: exodus.panama.net
udp port netbios-ns unreachable (DF) [tos 0xc0] (ttl 255, id 17218)
----------8<----------
help me! help! please! I am a crazy fool with this networking stuff.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
More information about the samba
mailing list