Bug 457661 - Unable to access SMB shares: The file or folder smb://xxxx.xxxx.local does not exist
Summary: Unable to access SMB shares: The file or folder smb://xxxx.xxxx.local does no...
Status: RESOLVED DUPLICATE of bug 453090
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Samba (show other bugs)
Version: 22.04.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Niels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 09:52 UTC by Niels
Modified: 2022-08-10 09:34 UTC (History)
3 users (show)

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


Attachments
The debug level 10 as requested (47.60 KB, text/plain)
2022-08-10 09:29 UTC, Niels
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niels 2022-08-09 09:52:24 UTC
SUMMARY
***
When entering smb://xxxx.xxxx.local in Dolphin, I'm receiving an error message that the the folder does not exist in the Dolphin interface. This happens to the majority of SMB shares (9/10).

- When I ping the hostname and ping the FQDN, I do get a response, so the name gets resolved
- When I mount the file share using mount -t cifs the SMB share gets mounted without a problem
- When I enter smb://username:password@xxxx.xxxx.xxxx in Dolphin the share does not show this problem 

journalctl -xe shows me:
kf.kio.core: "The file or folder smb://xxxx.xxxx.xxxx/ does not exist."
Aug 09 11:43:17 xxxx dolphin[10397]: org.kde.dolphin: could not find entry for charset= "Other encoding ()"
Aug 09 11:43:22 xxxx dolphin[10397]: kf.kio.core: "The file or folder smb://xxxx.xxxx.xxxx/ does not exist."

Or it shows me:
Aug 09 11:49:02 xxxx smbnotifier[14479]: kf.kio.slaves.smb: -- Failed to smbc_opendir: Invalid argument

***


STEPS TO REPRODUCE
1. Open Dolphin
2. Connect to a Microsoft Windows SMB share

OBSERVED RESULT
A message that the location does not exist.

EXPECTED RESULT
A pop-up asking for credentials for accessing the SMB share.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Niels 2022-08-09 09:53:56 UTC
Linux/KDE Plasma: Gentoo Linux 2.8
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Comment 2 Niels 2022-08-09 10:25:58 UTC
Update: Mounting the share via Smb4k works fine.
Comment 3 Niels 2022-08-09 14:44:20 UTC
Works fine in other File Managers, but does not work in Konqueror either. Could this be KIO related?
Comment 5 Niels 2022-08-10 09:29:02 UTC
Created attachment 151221 [details]
The debug level 10 as requested

The debug level 10 as requested
Comment 6 Niels 2022-08-10 09:32:15 UTC
~ $ export KDE_FORK_SLAVES=1
~ $ export QT_MESSAGE_PATTERN='[%{time process}](%{pid})/(%{category}) %{function}: %{message}'
~ $ export QT_LOGGING_RULES='log_kio_smb=true'
~ $ dolphin --new-window smb://xxxx.hq.xxxx.com/DATA
[     0.000](18334)/(kf.kio.core) unknown: "The file or folder smb://xxxx.hq.xxxx.com/DATA does not exist."

The export as requested.
Comment 7 Harald Sitter 2022-08-10 09:34:37 UTC

*** This bug has been marked as a duplicate of bug 453090 ***