Bug 98925 - smb:// in konqueror (linuxbox with samba and dns server) in windows local lan
Summary: smb:// in konqueror (linuxbox with samba and dns server) in windows local lan
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kio
Classification: Unmaintained
Component: smb (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-09 13:05 UTC by Karakontakis Apostolis
Modified: 2013-08-18 23:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karakontakis Apostolis 2005-02-09 13:05:01 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    Mandrake RPMs
Compiler:          gcc (GCC) 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk) 
OS:                Linux

There is a local network of  5 windows 98 machines and a linux box.The linux box is running dns server providing name resolution for the 5 windows 98 machines.Also the linux box
shares internet connection to the 5 machines with dns server,proxy,named.
I start konqueror and i give the command 
	smb:/
the result is to show me all the computer names and of course the shared resources,so far so good.
The problem occurs when i commit the actions.

1) I start konqueror
2) Go to menu Window and select Show Navigation Panel
3) Click the button services at the left down
4) double click LAN Browser
After that i see the online machines but not with the windows 98 computer names but with the names the dns server provides.For example
there is a computer with ip 10.45.34.13 and computer name in windows98 w999320b.The dns server in linux box resolves that same ip with the name abcdef.ghij.kl and also there is
the following record in hosts file
10.45.34.13	abcdef.ghij.kl	abcdef
so when i click in konqueror the SMB under the computer name (abcdef.ghij.kl) it says the following after a couple of seconds (trying to connect)

The file or folder smb://cnask.taxis.gr/ does not exist.

but if i give smb://w999320b everything work fine.

uname -a

Linux tyve.taxis.gr 2.6.10 #1 Wed Dec 29 13:37:09 EET 2004 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz unknown GNU/Linux

lspci

00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:01.0 PCI bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 03)
00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 00f1 (rev a2)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:02.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
02:02.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)

rpm -qa|grep samba

samba-server-3.0.10-0.1.101mdk
samba-client-3.0.10-0.1.101mdk
samba-common-3.0.10-0.1.101mdk

tcpdump -i eth0 host ndoyn.taxis.gr

14:05:46.314382 IP tyve.taxis.gr.33984 > ndoyn.taxis.gr.netbios-ssn: S 852461893:852461893(0) win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2>
14:05:46.314990 IP ndoyn.taxis.gr.netbios-ssn > tyve.taxis.gr.33984: S 19501644:19501644(0) ack 852461894 win 8760 <mss 1460,nop,nop,sackOK>
14:05:46.315040 IP tyve.taxis.gr.33984 > ndoyn.taxis.gr.netbios-ssn: . ack 1 win 5840
14:05:46.325055 IP tyve.taxis.gr.33984 > ndoyn.taxis.gr.netbios-ssn: P 1:73(72) ack 1 win 5840 NBT Packet
14:05:46.325424 IP ndoyn.taxis.gr.netbios-ssn > tyve.taxis.gr.33984: FP 1:6(5) ack 73 win 8688 NBT Packet
14:05:46.325514 IP tyve.taxis.gr.33984 > ndoyn.taxis.gr.netbios-ssn: F 73:73(0) ack 7 win 5840
14:05:46.325846 IP ndoyn.taxis.gr.netbios-ssn > tyve.taxis.gr.33984: . ack 74 win 8688
14:05:46.326736 IP tyve.taxis.gr.33985 > ndoyn.taxis.gr.netbios-ssn: S 860674970:860674970(0) win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2>
14:05:46.327063 IP ndoyn.taxis.gr.netbios-ssn > tyve.taxis.gr.33985: S 19501656:19501656(0) ack 860674971 win 8760 <mss 1460,nop,nop,sackOK>
14:05:46.327094 IP tyve.taxis.gr.33985 > ndoyn.taxis.gr.netbios-ssn: . ack 1 win 5840
14:05:46.337055 IP tyve.taxis.gr.33985 > ndoyn.taxis.gr.netbios-ssn: P 1:73(72) ack 1 win 5840 NBT Packet
14:05:46.337441 IP ndoyn.taxis.gr.netbios-ssn > tyve.taxis.gr.33985: FP 1:6(5) ack 73 win 8688 NBT Packet
14:05:46.337527 IP tyve.taxis.gr.33985 > ndoyn.taxis.gr.netbios-ssn: F 73:73(0) ack 7 win 5840
14:05:46.337824 IP ndoyn.taxis.gr.netbios-ssn > tyve.taxis.gr.33985: . ack 74 win 8688
Comment 1 Thiago Macieira 2005-02-09 13:58:45 UTC
I'm not sure if this belongs to kio/smb or kio/lan. Considering the latter doesn't exist as a component, I'm reassigning to kio_smb and we'll see what they can do.
Comment 2 Dawit Alemayehu 2013-08-18 23:18:55 UTC
KDE 3 is no longer maintained. Feel free to reopen the ticket if the problem is still applicable in the current stable KDE 4 version. Thank you for your report.