linux-l: Samba + win98

Jan-Benedict Glaw jbglaw at lug-owl.de
Fr Mär 17 12:13:40 CET 2000


On Fri, Mar 17, 2000 at 10:02:20AM +0100, Lars Täuber wrote:
> Jan-Benedict Glaw schrieb:
> > 
> > On Thu, Mar 16, 2000 at 10:20:25AM +0100, Lars Täuber wrote:
> > > Jan-Benedict Glaw schrieb:
> > [...]
> > > > > > Aha. Dann trag' einfach für den NETBIOS-Namen auch noch einen DNS RR ein. Das
> 
> Ich will dir nochmal danken, dass du  so lange aushältst.

Ich bin zäh;)

> Ich hoffe es hilft weiter:
> 
> tcpdump | egrep 192.168.6.

...nur teilweise. Das war jetzt doch nur das Client-Netz, oder? Wenn jetzt 
der Server z.B. DNS-Auflösungen zu DNS-Servern in einem nicht-6'er-Netz
versucht, dann sieht man das nicht;(

> tcpdump: listening on eth0
> 09:46:35.880000 192.168.2.1.netbios-dgm > 192.168.6.255.netbios-dgm: udp
> 215

Aha. *.2.1 (ich kürz' das mal so ab...) sagt "hallo" zu seinen Broadcast-
Kollegen.

> 09:47:09.140000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 68
> 09:47:09.140000 192.168.2.1.netbios-ns > 192.168.6.9.netbios-ns: udp 62
> 09:47:10.670000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 68
> 09:47:10.670000 192.168.2.1.netbios-ns > 192.168.6.9.netbios-ns: udp 62
> 09:47:10.690000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 68
> 09:47:10.690000 192.168.2.1.netbios-ns > 192.168.6.9.netbios-ns: udp 62

Frage-Antwort-Frage-Antwort... Der Client fragt, aber ob der Antwort bekommt,
weiß ich nicht. Mir scheint diese Kommunikation zu lang...

> 09:47:24.230000 192.168.2.1.netbios-dgm > 192.168.6.255.netbios-dgm: udp
> 215

Nochmal "hallo" sagen (etwa eine Minute später...).

> 09:49:07.670000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 50
> 09:49:09.120000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 50
> 09:49:10.650000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 50
> 09:49:10.670000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 50
> 09:49:12.160000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 50
> 09:49:13.680000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 50

Interessant... *.6.9 fragt etwas an, bekommt aber keine Antwort?!

> 09:49:14.400000 192.168.6.9.netbios-ns > 192.168.2.1.domain: 14+ (42)

Jetzt macht der Client einen Versuch über DNS...

> 09:49:14.400000 192.168.2.1.domain > 192.168.6.9.netbios-ns: 14* 1/1/1
> (92)

...und bekommt auch prompte Antwort;)

> 09:49:14.580000 192.168.6.9.netbios-dgm > 192.168.2.1.netbios-dgm: udp
> 218
> 09:49:15.870000 192.168.6.9.netbios-ns > 192.168.2.1.domain: 26+ (42)
> 09:49:15.870000 192.168.2.1.domain > 192.168.6.9.netbios-ns: 26* 1/1/1
> (92)
> 09:49:16.010000 192.168.6.9.netbios-dgm > 192.168.2.1.netbios-dgm: udp
> 218
> 09:49:17.390000 192.168.6.9.netbios-ns > 192.168.2.1.domain: 20+ (42)
> 09:49:17.390000 192.168.2.1.domain > 192.168.6.9.netbios-ns: 20* 1/1/1
> (92)
> 09:49:17.560000 192.168.6.9.netbios-dgm > 192.168.2.1.netbios-dgm: udp
> 218
> 09:49:19.670000 192.168.6.9.netbios-ns > 192.168.2.1.netbios-ns: udp 68
> 09:49:19.670000 192.168.2.1.netbios-ns > 192.168.6.9.netbios-ns: udp 62
> 09:49:24.100000 192.168.6.9.netbios-dgm > 192.168.2.1.netbios-dgm: udp
> 218
> 09:49:27.120000 192.168.6.9.netbios-dgm > 192.168.2.1.netbios-dgm: udp
> 218

...und so weiter und so fort...

Die Namensauflösung scheint über DNS jeztz zu klappen, aber der Server
scheint nicht zu antworten. Könnetst Du mir mal Deine smb.conf schicken?
Ich vermute fast, daß Du irgendwo ein "hosts allow = 192.168.1.0/24" oder
so stehen hast;)

> /var/log/smaba/nmb.log:
> 
> send_local_master_announcement: type 0 for name XY on subnet 192.168.2.1
> for workgroup ABC
> send_host_announcement: type 0 for host XY on subnet 192.168.2.1 for
> workgroup ABC

Der Samba-Server meldet sich alle Minute mal am Netz an. Das ist immer
so...

Mfg, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB



Mehr Informationen über die Mailingliste linux-l