Bug 506203 - SMB Root folder unable to mount
Summary: SMB Root folder unable to mount
Status: RESOLVED NOT A BUG
Alias: None
Product: Smb4k
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Reinholdt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-26 08:55 UTC by DF
Modified: 2025-07-21 19:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DF 2025-06-26 08:55:14 UTC
SUMMARY

Mounting SMB shares via smb4k works well, however, Dolphin is able to mount SMB root folders (e.g., //192.168.x.x/) while smb4k is able to mount only subfolders (e.g., //192.168.x.x/subfolder)

STEPS TO REPRODUCE
1. Open Mount Dialog
2. Add //192.168.0.1/
3. unless you add a subfolder, the OK button is disabled

OBSERVED RESULT

Unless you add a subfolder, the OK button is disabled in smb4k, while Dolphin is able to mount it.

EXPECTED RESULT

I would like to mount smb root folders

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 42
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Comment 1 Alexander Reinholdt 2025-07-21 19:03:07 UTC
Thank you for reporting this observation. However, the root folder of a Samba server cannot be mounted, only the shares provided by the server can. So, the "OK" button is only enabled in case you provide a UNC (or URL) with a subfolder. Hence, the behavior is correct. 

However, while I was dealing with your report, I found some other problems in the mount dialog that I fixed and that will be made available with the next point release.