[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Tony changed: What|Removed |Added CC||jodr...@live.com --- Comment #23 from Tony --- Why is this mark as resolved? I for one i am getting it on opensuse tumbleweed even though it used to work correctly. I've done the necessary changes on the Windows side, without downgrading to smb1 and set up wsdd on tumbleweed. I can see and browse my shares in tumbleweed from Windows. I cannot see or browse the shares in windows from tumbleweed using dolphin. The host name of the Windows machine does show up. When trying to open it i get a prompt for a username and password that never connects yet i can open the shares directly with smb://host/share So if this was a configuration issue on Windows side smb4k would have the same problem as dolphin and that is not the case. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #22 from Peter Eszlari --- (In reply to Justin Zobel from comment #21) > But you should also see if you can raise the version of your server(s) > to ensure they are secure. This is unfortunately not possible, since there seems to be no new firmware updates available for this device (Western Digital WDTV Live Media Player). -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Nate Graham changed: What|Removed |Added See Also||https://bugs.kde.org/show_b ||ug.cgi?id=430947 -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #21 from Justin Zobel --- Yeah older samba versions were considered compromised so samba decided to raise the minimum version. It caught a lot of people out. But you should also see if you can raise the version of your server(s) to ensure they are secure. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Peter Eszlari changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |INTENTIONAL --- Comment #20 from Peter Eszlari --- OK, found the reason: samba 4.11 disabled smb1 by default: https://wiki.samba.org/index.php/Samba_4.11_Features_added/changed#SMB1_is_disabled_by_default Changing "client min protocol" in /etc/samba/smb.conf to "NT1" fixed it. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #19 from Peter Eszlari --- I also tried it with Fedora 33 and Manjaro 20.2 -> same result. But it does work under Windows10 (identifies as "Windows NT 4.9 Server", which AFAIK means "samba") and it works under Kubuntu 18.04, so this seems to be a regression in samba/smbclient. I attached debug output from 18.04 working correctly. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #18 from Peter Eszlari --- Created attachment 134233 --> https://bugs.kde.org/attachment.cgi?id=134233&action=edit dolphin running under Kubuntu 18.04 -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Nate Graham changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|NOT A BUG |--- --- Comment #17 from Nate Graham --- > The message you get from thunar together with the fact that it then uses afp > tells me that thunar also finds smb broken and then decides to fall back to > afp. Sounds quite likely. Which means that there is some kind of bug there, even if that bug is that we should display a sensible error message to the user or fall back to SFP (lol). Either way, it's unrelated to Patrick's issue. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #16 from Harald Sitter --- More to the point the debug output is incomplete for some reason so it's not exactly clear what is going wrong anyway ;) Even so I'm very confident in saying that whatever the issue is it's not got anything to do with KIO. The message you get from thunar together with the fact that it then uses afp tells me that thunar also finds smb broken and then decides to fall back to afp. Specifically your log seems to have some code=c20c mixed in which I believe should be STATUS_CONNECTION_DISCONNECTED so the client lost connection for whatever reason, that'd be a problem with either the configuration or the version of libsmbclient combined with the specific server. In any event whatever your problem is has nothing to do with this bug. Patrick's problem was a name resolution problem while your log clearly shows name resolution working "internal_resolve_name: returning 1 addresses: 192.168.1.109:0 ". -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #15 from Justin Zobel --- (In reply to Peter Eszlari from comment #14) > (In reply to Justin Zobel from comment #13) > > Yes that one. You said you were accessing in Thunar using > > "afp://anonymous@WDTVLive.local/DIR/" which isn't SMB so it's unrelated to > > this bug. It's an issue with browsing AFP shares. > > AFAIK when I used nautilus, it said "samba share" or something like this (no > access to device at the moment, I have to check that again). > > And doesn't "445/tcp open microsoft-ds" mean, there's a samba share? Generally yes but the AFP port is also open: 548/tcp open afp -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #14 from Peter Eszlari --- (In reply to Justin Zobel from comment #13) > Yes that one. You said you were accessing in Thunar using > "afp://anonymous@WDTVLive.local/DIR/" which isn't SMB so it's unrelated to > this bug. It's an issue with browsing AFP shares. AFAIK when I used nautilus, it said "samba share" or something like this (no access to device at the moment, I have to check that again). And doesn't "445/tcp open microsoft-ds" mean, there's a samba share? -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #13 from Justin Zobel --- (In reply to Peter Eszlari from comment #12) > (In reply to Justin Zobel from comment #11) > > Peter this issue is in relation to SMB shares, not AFP. I'm resolving this, > > please create a new bug report for the AFP issue. > > AFP = https://en.wikipedia.org/wiki/Apple_Filing_Protocol ??? Yes that one. You said you were accessing in Thunar using "afp://anonymous@WDTVLive.local/DIR/" which isn't SMB so it's unrelated to this bug. It's an issue with browsing AFP shares. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #12 from Peter Eszlari --- (In reply to Justin Zobel from comment #11) > Peter this issue is in relation to SMB shares, not AFP. I'm resolving this, > please create a new bug report for the AFP issue. AFP = https://en.wikipedia.org/wiki/Apple_Filing_Protocol ??? -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Justin Zobel changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |NOT A BUG --- Comment #11 from Justin Zobel --- (In reply to Peter Eszlari from comment #10) > neon@neon:~$ nmap 192.168.1.109 > Starting Nmap 7.80 ( https://nmap.org ) at 2020-12-13 17:14 UTC > Nmap scan report for WDTVLive (192.168.1.109) > Host is up (0.0041s latency). > Not shown: 993 closed ports > PORT STATE SERVICE > 80/tcpopen http > 139/tcp open netbios-ssn > 443/tcp open https > 445/tcp open microsoft-ds > 548/tcp open afp > 9000/tcp open cslistener > 3/tcp open ndmps > > Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds Peter this issue is in relation to SMB shares, not AFP. I'm resolving this, please create a new bug report for the AFP issue. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #10 from Peter Eszlari --- neon@neon:~$ nmap 192.168.1.109 Starting Nmap 7.80 ( https://nmap.org ) at 2020-12-13 17:14 UTC Nmap scan report for WDTVLive (192.168.1.109) Host is up (0.0041s latency). Not shown: 993 closed ports PORT STATE SERVICE 80/tcpopen http 139/tcp open netbios-ssn 443/tcp open https 445/tcp open microsoft-ds 548/tcp open afp 9000/tcp open cslistener 3/tcp open ndmps Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #9 from Peter Eszlari --- neon@neon:~$ kwriteconfig5 --file kioslaverc --group SMB --key DebugLevel 10 neon@neon:~$ KDE_FORK_SLAVES=1 QT_LOGGING_RULES="kf5.*=true;kf5.kio.*=true;kio_smb=true" dolphin --new-window kf.kio.slaves.tags: tag fetch failed: "Failed to open the database" kf.kio.slaves.tags: "tags:/" list() invalid url kf.kio.core: "Could not enter folder tags:/." kf.kio.core: "Could not enter folder tags:/." Qt: Session management error: networkIdsList argument is NULL INFO: Current debug levels: all: 10 tdb: 10 printdrivers: 10 lanman: 10 smb: 10 rpc_parse: 10 rpc_srv: 10 rpc_cli: 10 passdb: 10 sam: 10 auth: 10 winbind: 10 vfs: 10 idmap: 10 quota: 10 acls: 10 locking: 10 msdfs: 10 dmapi: 10 registry: 10 scavenger: 10 dns: 10 ldb: 10 tevent: 10 auth_audit: 10 auth_json_audit: 10 kerberos: 10 drs_repl: 10 smb2: 10 smb2_credits: 10 dsdb_audit: 10 dsdb_json_audit: 10 dsdb_password_audit: 10 dsdb_password_json_audit: 10 dsdb_transaction_audit: 10 dsdb_transaction_json_audit: 10 dsdb_group_audit: 10 dsdb_group_json_audit: 10 Using netbios name NEON. Using workgroup WORKGROUP. parsed path: fname='smb://' server='' share='' path='' options='' SMBC_check_options(): server='' share='' path='' options='' name_resolve_bcast: Attempting broadcast lookup for name __MSBROWSE__<0x1> tstream_unix_connect failed: No such file or directory nmbd not around INFO: Current debug levels: all: 10 tdb: 10 printdrivers: 10 lanman: 10 smb: 10 rpc_parse: 10 rpc_srv: 10 rpc_cli: 10 passdb: 10 sam: 10 auth: 10 winbind: 10 vfs: 10 idmap: 10 quota: 10 acls: 10 locking: 10 msdfs: 10 dmapi: 10 registry: 10 scavenger: 10 dns: 10 ldb: 10 tevent: 10 auth_audit: 10 auth_json_audit: 10 kerberos: 10 drs_repl: 10 smb2: 10 smb2_credits: 10 dsdb_audit: 10 dsdb_json_audit: 10 dsdb_password_audit: 10 dsdb_password_json_audit: 10 dsdb_transaction_audit: 10 dsdb_transaction_json_audit: 10 dsdb_group_audit: 10 dsdb_group_json_audit: 10 Using netbios name NEON. Using workgroup WORKGROUP. parse_nmb: packet id = 17065 nmb packet from 192.168.1.109(35072) header: id=17065 opcode=Query(0) response=Yes header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0 answers: nmb_name=__MSBROWSE__<01> rr_type=32 rr_class=1 ttl=259200 answers 0 char .m hex 8000C0A8016D Got a positive name query response from 192.168.1.109 ( 192.168.1.109 ) validator failed name_status_find: looking up *#00 at 192.168.1.109 Opening cache file at /run/samba/gencache.tdb tdb(/run/samba/gencache.tdb): tdb_open_ex: could not open file /run/samba/gencache.tdb: Permission denied Opening /run/samba/gencache.tdb failed: Permission denied namecache_status_fetch: no entry for NBT/*#00.1D.192.168.1.109 found. startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory tstream_unix_connect failed: No such file or directory nmbd not around parse_nmb: packet id = 6813 nmb packet from 192.168.1.109(35072) header: id=6813 opcode=Query(0) response=Yes header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0 answers: nmb_name=*<00> rr_type=33 rr_class=1 ttl=0 answers 0 char .WDTVLIVE hex 07574454564C49564520202020202020 answers 10 char ...WDTVLIVEhex 000400574454564C4956452020202020 answers 20 char ...WDTVLIVE hex 2020030400574454564C495645202020 answers 30 char __MSBRO hex 2020202020040001025F5F4D5342524F answers 40 char WSE__WORKGRO hex 5753455F5F02018400574F524B47524F answers 50 char UP ...WORKG hex 55502020202020201D0400574F524B47 answers 60 char ROUP ...WOR hex 524F55502020202020201E8400574F52 answers 70 char KGROUP hex 4B47524F55502020202020200084 answers 80 char hex answers 90 char hex answers a0 char . hex 00 WDTVLIVE#00: flags = 0x04 WDTVLIVE#03: flags = 0x04 WDTVLIVE#20: flags = 0x04 __MSBROWSE__#01: flags = 0x84 WORKGROUP#1d: flags = 0x04 WORKGROUP#1e: flags = 0x84 WORKGROUP#00: flags = 0x84 Opening cache file at /run/samba/gencache.tdb tdb(/run/samba/gencache.tdb): tdb_open_ex: could not open file /run/samba/gencache.tdb: Permission denied Opening /run/samba/gencache.tdb failed: Permission denied namecache_status_store: entry NBT/*#00.1D.192.168.1.109 store failed. name_status_find: name found, name WORKGROUP ip address is 192.168.1.109 internal_resolve_name: looking up WORKGROUP#1d (sitename (null)) Opening cache file at /run/samba/gencache.tdb tdb(/run/samba/gencache.tdb): tdb_open_ex: could not open file /run/sam
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #8 from Peter Eszlari --- Same problem with latest Unstable Edition. It works on the same system with nautilus or thunar. Some details of the share: It's on a external hard-drive connected to a WDTV Live Media Player. The URL under thunar is: afp://anonymous@WDTVLive.local/DIR/ in journalctl I see: gvfsd[1940]: smbXcli_negprot_smb1_done: No compatible protocol selected by server. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Peter Eszlari changed: What|Removed |Added Ever confirmed|0 |1 Status|RESOLVED|REOPENED CC||peter.eszl...@gmail.com Resolution|NOT A BUG |--- --- Comment #7 from Peter Eszlari --- I have the same problem with the latest Neon User edition: "org.kde.dolphin: could not find entry for charset= "Other encoding ()"" There seems to be no misconfiguration, because on the same system, I can access the share with nautilus. It's strange, because I can remember, this used to work some weeks/months ago under Neon. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Patrick Silva changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|--- |NOT A BUG --- Comment #6 from Patrick Silva --- (In reply to Harald Sitter from comment #5) > 99% sure your name resolution isn't correctly set up > https://wiki.archlinux.org/index.php/Avahi#Hostname_resolution You are right! Thank you very much Harald. :) -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Harald Sitter changed: What|Removed |Added CC||sit...@kde.org --- Comment #5 from Harald Sitter --- 99% sure your name resolution isn't correctly set up https://wiki.archlinux.org/index.php/Avahi#Hostname_resolution -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #4 from Patrick Silva --- I have renamed my shares to "Share1" and "Share2", restarted smb and nmb services on server machine, but the problem persists. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 --- Comment #3 from Justin Zobel --- I've just tested on KDE Neon User Edition (20.08.2 Dolphin) and can't reproduce the issue. Is there a setting on Arch in regards to SMB version requirements, etc?(In reply to Patrick Silva from comment #2) > Dolphin master running on neon unstable installed on another machine > finds samba shares as expected. > > Operating System: KDE neon Unstable Edition > KDE Plasma Version: 5.20.80 > KDE Frameworks Version: 5.76.0 > Qt Version: 5.15.0 I can even access my SMB shares on my laptop with Dolphin 20.08.2. So it must be something Arch is doing or something in a configuration that's stopping you browsing the shares. If you are able to can you show us the share names on the server. I'm wondering if the "org.kde.dolphin: could not find entry for charset= "Other encoding ()" means there's something in one of the share names that's causing an issue on Arch. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Patrick Silva changed: What|Removed |Added Resolution|WAITINGFORINFO |--- Status|NEEDSINFO |REPORTED --- Comment #2 from Patrick Silva --- Dolphin master running on neon unstable installed on another machine finds samba shares as expected. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.20.80 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.0 -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 428342] Dolphin does not find Samba shares
https://bugs.kde.org/show_bug.cgi?id=428342 Justin Zobel changed: What|Removed |Added Resolution|--- |WAITINGFORINFO CC||justin.zo...@gmail.com Status|REPORTED|NEEDSINFO --- Comment #1 from Justin Zobel --- I can't reproduce this issue on Dolphin from git master. I can browse SMB, open my server and browser/interact with the shares. Shares are on Ubuntu 20.04.1 Can you test with KDE Neon Unstable in a VM? -- You are receiving this mail because: You are watching all bug changes.