Bug 164283

Summary: Delete "Connectivity" KCM; it doesn't actually work and isn't useful for anything
Product: [Applications] systemsettings Reporter: FiNeX <finex>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: arthur, hsantanna, ma2412ma, matheus4551, nate, twinshadows404
Priority: NOR    
Version: 5.13.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description FiNeX 2008-06-17 14:18:10 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Actually on System Settings there is the "windows shares" module which allow to set the default username and password used for browsing samba shares.

This sound a bit unuseful to me: KDE use kwallet for remember username/password, it could manage even the username/password of samba shares.

Moreover this module doesn't allow to access to multiple samba shares with different account, because you can set only one username/password. Instead, dropping this module and using kwallet will allow it.
Comment 1 FiNeX 2008-11-12 10:51:14 UTC
*** Bug 142016 has been marked as a duplicate of this bug. ***
Comment 2 Henrique Sant'Anna 2010-02-22 15:52:06 UTC
Using Dolphin from KDE 4.4 (Ubuntu 9.10 PPA repository)

The smb password from "windows shares" are never used when trying to access a smb share. The password are asked again and again instead, even when checking the option to save it.
Once logged in, the password is asked again every time you access that share to each folder you browse. The password is also asked again even if you refresh from the same folder where you already sent the correct password.

I also can't open files from smb shares, because the password isn't asked when opening files and the password from "windows shares" is not used, than I get access denied.
Comment 3 twinshadows404 2021-03-21 22:25:34 UTC
I can't find it in the setting. Was it removed?
Comment 4 Nate Graham 2021-03-21 23:53:45 UTC
It's in System Settings > Connections > Windows Shares
Comment 5 Stephan Kulow 2023-01-18 10:42:12 UTC
Closing old bugs
Comment 6 Nate Graham 2023-01-18 19:41:42 UTC
This is something we still want to do; re-opening.
Comment 7 Harald Sitter 2023-10-02 11:57:00 UTC
Git commit add32b76659879ac2f31f93248154f50cd3b8bd7 by Harald Sitter.
Committed on 02/10/2023 at 13:52.
Pushed by sitter into branch 'kf6'.

smb: drop KCM

it is no longer supported in kf6 because it is both a security risk and
screwing with authentication attempt counting on the server side.

https://bugzilla.samba.org/show_bug.cgi?id=14326#c3 for context

M  +0    -1    kcms/CMakeLists.txt
D  +0    -14   kcms/smb/CMakeLists.txt
D  +0    -126  kcms/smb/kcm_smb.json
D  +0    -119  kcms/smb/smbrodlg.cpp
D  +0    -41   kcms/smb/smbrodlg.h
M  +0    -2    smb/kio_smb_auth.cpp
M  +0    -1    smb/kio_smb_config.cpp
M  +0    -30   smb/smbauthenticator.cpp
M  +0    -3    smb/smbauthenticator.h
M  +0    -2    smb/smbcontext.cpp

https://invent.kde.org/network/kio-extras/-/commit/add32b76659879ac2f31f93248154f50cd3b8bd7