You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Wednesday, April 28th 2004, 4:37pm

Konqueror (KDE 3.1.4) bug in smb://machine/ using Samba 3.0

Hello, my first time here.
Recently I found a bug in the smb: protocol in Konqueror. When using the smb: protocol in the form smb://machine/ to see the Windows shares the machine exports, it keeps waiting and shows nothing. You have to stop it.
The reason is: Konqueror uses smbclient to collect the available shares of a machine. The call to smbclient is of the form:

/usr/bin/smbclient -Lmachine_to_connect -Uadministrator -I192.168.0.3 -Wworkgroup

If I type in that in a terminal, it asks for a password! So Konqueror is not providing it. Not even if you type one in the control panel > Internet and Network > Local Network Browsing > preferred password (hope those are the names in English).

An awful fix is: rename smbclient to smbclient_renamed. Create an script called smbclient that calls smbclient_renamed passing a credentials file (see Samba documentation) in the current user's home dir, if it exists.

And it's magic: Konqueror is able to see the shares of any networked computer, asuming that the user and password in the credentials file is recognized by all the computers.

I'm about to move to KDE 3.2.2, I don't know if the problem is still there.

KDE version 3.1.4-0.9x.1 Red Hat (from