Bug 456669 - dolphin and kioclient stucks when connecting to smb with domain
Summary: dolphin and kioclient stucks when connecting to smb with domain
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Samba (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-13 09:46 UTC by bangbang93
Modified: 2022-08-12 04:36 UTC (History)
1 user (show)

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


Attachments
UI keeps loading (78.97 KB, image/png)
2022-07-13 09:46 UTC, bangbang93
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bangbang93 2022-07-13 09:46:32 UTC
Created attachment 150581 [details]
UI keeps loading

SUMMARY
Cannot connect to my office nas with smb://user@domain@host or smb://domain/user@host or smb://domain%2fuser@host or smb://user%30domain@host
In dolphin, the UI keeps loading



STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


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

ADDITIONAL INFORMATION
Comment 2 bangbang93 2022-07-13 09:54:17 UTC
using the same url in kioclient, the command never finishes
`kioclient ls smb://user@domain@host`

But the can be mounted by `mount -t cifs //host/home /mnt/tmp -o "username=user,password=pass,domain=domin"`


dolphin --new-window smb://nas.chipwing.tech                                                                                                                              
[     0.000](43454)/(default) unknown: QSocketNotifier: Can only be used with threads started with QThread
[     0.023](43454)/(kf.kio.core) unknown: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
[     0.025](43454)/(kf.kio.core) unknown: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields

That's all, the UI still stops on loading
Comment 3 Harald Sitter 2022-07-13 10:10:04 UTC
smb://user@domain@host is not a valid url -> https://i.imgur.com/dd5Yr4m.png

Also

For efficient handling of bug reports detailed information is key. Make sure to tell us:

    The KDE Frameworks and Dolphin version you're running
    The libsmbclient version installed
    The type and version of the smb server (e.g. "Samba 4.12.0 on opensuse 42" or "Windows 10")
Comment 4 bangbang93 2022-07-13 10:21:44 UTC
I press enter accidentally, so publish the incomplete details

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

And `kioclient ls smb://domain\user@domain` still stucks
Comment 5 bangbang93 2022-07-13 10:24:51 UTC
Smb server is Synology DSM 7.1-42661 Update 3
Comment 6 Harald Sitter 2022-07-13 11:14:12 UTC
Still missing the dolphin version and libsmbclient version :)
Comment 7 bangbang93 2022-07-13 11:19:54 UTC
Dolphin 22.04.3
Don't know where to find the version of libsmbclient, but `smbclient --version` says 4.16.2
Comment 8 Harald Sitter 2022-07-13 11:28:15 UTC
Alrighty. Since manjaro apparently doesn't provide builds with useful debug output and your versions all seem in order my only suggestion is to try without any domain nonesense. From searching the web I'd say your NAS doesn't actually isn't a domain controller and by extension any domain information you supply is ultimately unnecessary and can only get in the way.

Try with only your user name. If that doesn't work, we can't really help you.
Comment 9 Bug Janitor Service 2022-07-28 04:36:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2022-08-12 04:36:00 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!