Bug 506203

Summary: SMB Root folder unable to mount
Product: [Applications] Smb4k Reporter: DF <d.offactor.y>
Component: generalAssignee: Alexander Reinholdt <alexander.reinholdt>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.