Bug 424790 - kpasswdserver not persisting AUTHINFO_EXTRAFIELD_DOMAIN in wallet
Summary: kpasswdserver not persisting AUTHINFO_EXTRAFIELD_DOMAIN in wallet
Status: REOPENED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: git master
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-29 10:40 UTC by Luca Manganelli
Modified: 2021-03-03 20:34 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Manganelli 2020-07-29 10:40:58 UTC
SUMMARY
Dolphin never stores the SAMBA domain in authentication dialog


STEPS TO REPRODUCE
1. Connect to a samba folder
2. An authentication window pop-ups. Write username, domain and password and choose to save password
3. Re-connect to same samba folder
4. The authentication window appears. The domain is always set to "WORKGROUP" and never to the domain I chose to save.

EXPECTED RESULT
Dolphin should save the domain, not only the username and password.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.19.3
(available in About System)
KDE Plasma Version: 5.19.3
KDE Frameworks Version: lastest (KDE Neon)
Qt Version: lastest (KDE Neon)
Comment 1 Harald Sitter 2020-08-24 14:02:31 UTC
It looks to me kpasswdserver doesn't actually store extra fields in the kwallet cache, in this particular case AUTHINFO_EXTRAFIELD_DOMAIN.
Moving bug to KIO.
Comment 2 Mauro Molinari 2021-02-26 09:03:02 UTC
I'm also experiencing this problem with Kubuntu 20.04.
Comment 3 Luca Manganelli 2021-03-03 15:07:42 UTC
Now it's fixed in latest frameworks-kio (I'm using KDE neon 5.21.2)
Comment 4 Harald Sitter 2021-03-03 15:23:58 UTC
It's not. We've removed the workgroup field from the smb auth dialog, the code in KIO still doesn't persist the value so if we were to use it again it'd be exactly the same behavior as before.
Comment 5 Mauro Molinari 2021-03-03 17:48:58 UTC
(In reply to Harald Sitter from comment #4)
> It's not. We've removed the workgroup field from the smb auth dialog, the
> code in KIO still doesn't persist the value so if we were to use it again
> it'd be exactly the same behavior as before.

But if you've removed the "workgroup" field (which is indeed the domain field), how can one specify the domain when it needs to connect to a company resource? Is the "<domain>\username" syntax supported for the username field?
Comment 6 Harald Sitter 2021-03-03 20:34:09 UTC
Yep