Bug 58831 - "Unknown error condition" when entering smb:/ in Konqueror
Summary: "Unknown error condition" when entering smb:/ in Konqueror
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: smb (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 59543 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-23 07:52 UTC by Denis Treskunov
Modified: 2006-01-08 12:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
tcpdump during starting konqueror with "smb:/" (1.99 KB, text/plain)
2003-12-02 21:45 UTC, Bruce A. Mallett
Details
smb.tcpdump capture file (8.68 KB, application/octet-stream)
2004-05-04 23:44 UTC, andreas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Treskunov 2003-05-23 07:52:39 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Gentoo Packages
Compiler:          gcc-3.2.2 
OS:          Linux

Ever since upgrading from KDE 3.1 to 3.1.2, I get the following error message when trying to see the list of available workgoups: "Internal Error. Please send a full bug report at http://bugs.kde.org. Unknown error condition."
However, entering smb:/<name-of-workgroup>/ lets me see all the servers in that group.
I had samba-2.2.8a installed previously; I've upgraded it to samba-3.0_alpha22, but the problem persists.
ldd kio_smb.so shows it is linked against libsmbclient.so
Comment 1 Stephan Kulow 2003-05-23 08:56:19 UTC
hmm, alpha22 is from january. All my fixes to samba were in march and april, can you  
a) try with alpha24 or get a samba checkout of SAMBA_3_0? 
b) try to replace the kdebase/kioslave/smb with the version from KDE HEAD? 
 
I put tons of fixes into HEAD, but didn't backport any as they require samba alpha ;( 
Comment 2 Denis Treskunov 2003-05-23 09:47:57 UTC
OK, I've upgraded to samba-3.0_alpha24. Now I get the list of workgroups, but then 
imediately after that, the same error message. Also, I can't list the contents of a workgroup. 
Entering smb:/<workgroup>/<server>/ works fine, though. 
I will try compiling KDE from CVS, once I figure out how to do it :) I'm sure KDE 3.2 is going 
to be the best! 
Comment 3 Stephan Kulow 2003-05-23 10:00:18 UTC
Hmm, can you describe shortly your network? I'd be interested in 
some ethereal/tcpdump log. 
 
Can you apply a patch to KDE? you don't need to build all of KDE from 
CVS, it's enough if you replace kioslave/smb 
Comment 4 Denis Treskunov 2003-05-23 10:26:17 UTC
My network is pretty simple: this machine is one of several connected to a Linksys router, 
which is also connected to the cable modem. The other machines are all Windows. 
 
Could you tell me how to update just the kioslave? Do I just get the latest CVS snapshot 
package from ftp://ftp.kde.org/pub/kde/unstable/snapshots/? If so, which one? I see two 
that might be what I need: kdebase and kdekiosk. 
 
It's getting quite late here on the West Coast; I'll look into it some more this weekend. 
Comment 5 socrate 2003-06-07 16:49:24 UTC
I am getting the same error (a popup whcih said: "Internal Error. Please send 
a full bug report at http://bugs.kde.org. Unknown error condition.") when 
accessing hosts by "smb://host/". I am using kde 3.1.2 on a Mandrake 9.1, 
installed KDE from Cooker. 
 
On a second computer form the same lan I have KDE 3.1.1 (also from Cooker) and 
the error is not present. From the second computer, I can browse on both 
computers in my lan from both Linux/Mandrake_9.1/KDE_3.1.1 as well as from XP. 
 
Relevant details: 
 
$ rpm -q kdebase 
kdebase-3.1.2-4mdk 
 
$ rpm -q libsmbclient0 
libsmbclient0-2.2.8a-5mdk 
 
$ rpm -qa|grep -i samba 
samba-client-2.2.8a-5mdk 
samba-server-2.2.8a-5mdk 
samba-common-2.2.8a-5mdk 
 
$ uname -r 
2.4.21-0.13mdk 
 
$ cat /etc/lisarc 
SecondWait = 0 
SearchUsingNmblookup = 1 
DeliverUnnamedHosts = 1 
FirstWait = 30 
MaxPingsAtOnce = 256 
UpdatePeriod = 300 
PingAddresses = 192.168.1.0/255.255.255.0; 
AllowedAddresses = 192.168.1.0/255.255.255.0; 
BroadcastNetwork = 192.168.1.0/255.255.255.0; 
PingNames = 
 
 
$ testparm 
Load smb config files from /etc/samba/smb.conf 
Processing section "[homes]" 
Processing section "[tmp]" 
Processing section "[shared]" 
Processing section "[media]" 
Loaded services file OK. 
Press enter to see a dump of your service definitions 
# Global parameters 
[global] 
        coding system = 
        client code page = 850 
        code page directory = /var/lib/samba/codepages 
        workgroup = HOME 
        netbios name = RADU 
        netbios aliases = 
        netbios scope = 
        server string = File Server 
        interfaces = 192.168.1.1/24 
        bind interfaces only = No 
        security = SHARE 
        encrypt passwords = Yes 
        update encrypted = No 
        allow trusted domains = Yes 
        hosts equiv = 
        min passwd length = 5 
        map to guest = Never 
        null passwords = No 
        obey pam restrictions = No 
        password server = 
        smb passwd file = 
        /etc/samba/smbpasswd 
        root directory = 
        pam password change = No 
        passwd program = /usr/bin/passwd 
        passwd chat = *new*password* %n\n *new*password* %n\n *changed* 
        passwd chat debug = No 
        username map = /etc/samba/smbusers 
        password level = 0 
        username level = 0 
        unix password sync = No 
        restrict anonymous = No 
        lanman auth = Yes 
        use rhosts = No 
        admin log = No 
        log level = 3 
        syslog = 1 
        syslog only = No 
        log file = /var/log/samba/log.%m 
        max log size = 50 
        timestamp logs = Yes 
        debug hires timestamp = No 
        debug pid = No 
        debug uid = No 
        protocol = NT1 
        large readwrite = Yes 
        max protocol = NT1 
        min protocol = CORE 
        read bmpx = No 
        read raw = Yes 
        write raw = Yes 
        acl compatibility = 
        nt smb support = Yes 
        nt pipe support = Yes 
        nt status support = Yes 
        announce version = 4.9 
        announce as = NT 
        max mux = 50 
        max xmit = 16644 
        name resolve order = host bcast lmhosts 
        max ttl = 259200 
        max wins ttl = 518400 
        min wins ttl = 21600 
        time server = No 
        unix extensions = No 
        change notify timeout = 60 
        deadtime = 0 
        getwd cache = Yes 
        keepalive = 300 
        lpq cache time = 10 
        max smbd processes = 0 
        max disk size = 0 
        max open files = 10000 
        name cache timeout = 660 
        read size = 16384 
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 
        stat cache size = 50 
        use mmap = Yes 
        total print jobs = 0 
        load printers = Yes 
        printcap name = /etc/printcap 
        disable spoolss = No 
        enumports command = 
        addprinter command = 
        deleteprinter command = 
        show add printer wizard = Yes 
        os2 driver map = 
        strip dot = No 
        mangling method = hash 
        character set = 
        mangled stack = 50 
        stat cache = Yes 
        domain admin group = 
        domain guest group = 
        machine password timeout = 604800 
        add user script = 
        delete user script = 
        logon script = 
        logon path = \\%N\%U\profile 
        logon drive = 
        logon home = \\%N\%U 
        domain logons = No 
        os level = 233 
        lm announce = Auto 
        lm interval = 60 
        preferred master = Auto 
        local master = Yes 
        domain master = Auto 
        browse list = Yes 
        enhanced browsing = Yes 
        dns proxy = Yes 
        wins proxy = No 
        wins server = 
        wins support = No 
        wins hook = 
        kernel oplocks = Yes 
        lock spin count = 3 
        lock spin time = 10 
        oplock break wait time = 0 
        add share command = 
        change share command = 
        delete share command = 
        config file = 
        preload = 
        lock dir = /var/cache/samba 
        pid directory = /var/run/samba 
        utmp directory = 
        wtmp directory = 
        utmp = No 
        default service = 
        message command = 
        dfree command = 
        valid chars = 
        remote announce = 192.168.1.255 
        remote browse sync = 192.168.1.255 
        socket address = 0.0.0.0 
        homedir map = auto.home 
        time offset = 0 
        NIS homedir = No 
        source environment = 
        panic action = 
        hide local users = No 
        host msdfs = No 
        winbind uid = 
        winbind gid = 
        template homedir = /home/%D/%U 
        template shell = /bin/false 
        winbind separator = \ 
        winbind cache time = 15 
        winbind enum users = Yes 
        winbind enum groups = Yes 
        winbind use default domain = No 
        comment = 
        path = 
        alternate permissions = No 
        username = 
        guest account = guest 
        invalid users = 
        valid users = 
        admin users = 
        read list = 
        write list = 
        printer admin = 
        force user = 
        force group = 
        read only = Yes 
        create mask = 0744 
        force create mode = 00 
        security mask = 0777 
        force security mode = 00 
        directory mask = 0755 
        force directory mode = 00 
        directory security mask = 0777 
        force directory security mode = 00 
        force unknown acl user = 00 
        inherit permissions = No 
        inherit acls = No 
        guest only = No 
        guest ok = No 
        only user = No 
        hosts allow = 192.168.1. 127. 
        hosts deny = 
        status = Yes 
        nt acl support = Yes 
        profile acls = No 
        block size = 1024 
        max connections = 0 
        min print space = 0 
        strict allocate = No 
        strict sync = No 
        sync always = No 
        use sendfile = No 
        write cache size = 0 
        max print jobs = 1000 
        printable = No 
        postscript = No 
        printing = bsd 
        print command = lpr -r -P%p %s 
        lpq command = lpq -P%p 
        lprm command = lprm -P%p %j 
        lppause command = 
        lpresume command = 
        queuepause command = 
        queueresume command = 
        printer name = 
        use client driver = No 
        default devmode = No 
        printer driver = 
        printer driver file = /etc/samba/printers.def 
        printer driver location = 
        default case = lower 
        case sensitive = No 
        preserve case = No 
        short preserve case = No 
        mangle case = No 
        mangling char = ~ 
        hide dot files = Yes 
        hide unreadable = No 
        delete veto files = No 
        veto files = 
        hide files = 
        veto oplock files = 
        map system = No 
        map hidden = No 
        map archive = Yes 
        mangled names = Yes 
        mangled map = 
        browseable = Yes 
        blocking locks = Yes 
        csc policy = manual 
        fake oplocks = No 
        locking = Yes 
        oplocks = Yes 
        level2 oplocks = Yes 
        oplock contention limit = 2 
        posix locking = Yes 
        strict locking = No 
        share modes = Yes 
        copy = 
        include = 
        exec = 
        preexec close = No 
        postexec = 
        root preexec = 
        root preexec close = No 
        root postexec = 
        available = Yes 
        volume = 
        fstype = NTFS 
        set directory = No 
        wide links = Yes 
        follow symlinks = Yes 
        dont descend = 
        magic script = 
        magic output = 
        delete readonly = No 
        dos filemode = No 
        dos filetimes = No 
        dos filetime resolution = No 
        fake directory create times = No 
        vfs object = 
        vfs options = 
        msdfs root = No 
 
[homes] 
        comment = Home Directories 
        browseable = No 
 
[shared] 
        comment = Public shared folder 
        path = /home/shared 
        guest ok = Yes 
 
 
Another error in KDE 3.2.1: 
If I am accessing: "smb://HOME/ I get a list of computers, but when I click on 
a computer (smb://HOME/RADU/) I get in a popup: "The file or directory 
smb://HOME/RADU does not exist". 
 
Thanks, 
  Radu Filip 
Comment 6 Stephan Kulow 2003-06-09 20:46:58 UTC
*** Bug 59543 has been marked as a duplicate of this bug. ***
Comment 7 Stephan Kulow 2003-09-14 12:35:45 UTC
I changed the error message to say "please send us a tcpdump". So if you still 
have a problem when using samba 3.0(rcs)'s libsmbclient and KDE HEAD or 
3.1.4, send me the result of e.g. tcpdump -i eth0 -w forcoolo 
 
Comment 8 Stephan Kulow 2003-10-06 13:39:11 UTC
If you have the problem when using a Windows 200x/XP server, look for a fix into 
#429 on bugzilla.samba.org. It didn't make it into samba 3.0 ;( 
Comment 9 Bruce A. Mallett 2003-12-02 21:45:40 UTC
Created attachment 3523 [details]
tcpdump during starting konqueror with "smb:/"

TCPdump of wlan0 under SuSE 9.0 when starting konqueror with url of "smb:/". 
Konq. gives internal error with unknown complaint from libsmbclient.o
Comment 10 Nicholas Ruddick 2004-03-16 00:27:18 UTC
Getting original error now with KDE 3.2.1 on Fedora Core 1 and 2 with samba 3.0.2-7.FC1. Has something broke again?

Nicholas
Comment 11 andreas 2004-05-04 23:44:33 UTC
Created attachment 5882 [details]
smb.tcpdump capture file

result of "tcpdump -i lo -n -p -s 1500 -w smb.tcpdump". samba-3.0.3 is running
localhost, and "smb://pandora/" was typed on konqueror-3.2.2 (pandora is the
localhost machine).
Comment 12 Dane 2006-01-08 12:01:21 UTC
I've just run into this bug in Konqueror 3.4.3.  It turns out to be a firewall problem, at least on my machine.  When nmblookup TopHat produced TopHat's IP address, the error went away and it showed my files.  The computer with the problem (the server) is running Ubuntu, with the Lokkit firewall.  Turning the firewall off (sudo /etc/init.d/lokkit stop) fixes it.  Maybe I'll have better luck with Shorewall.