Bug 354004 - smb kioslave timeouts looking for kerberos authentication
Summary: smb kioslave timeouts looking for kerberos authentication
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Samba (show other bugs)
Version: 5.4.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-17 15:02 UTC by Adrien Prokopowicz
Modified: 2020-03-12 04:33 UTC (History)
2 users (show)

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


Attachments
libsmbclient debug log (23.90 KB, text/plain)
2015-10-17 15:03 UTC, Adrien Prokopowicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Prokopowicz 2015-10-17 15:02:05 UTC
I am using the smb kioslave (via Dolphin) to browse my school's shared directories, located on a Windows 2008 Server's Active Directory.

However, it always takes a very long time to connect (> 30 sec) before I can finally browse it.

After some research (see attached debugging output), it appears that libsmbclient actively waits for a Kerberos authentication, and then timeouts before falling back to NTLM.


Reproducible: Always

Steps to Reproduce:
1. Use kioclient5 to connect to a SMB Windows Server 2008 AD Share without Kerberos
2. Wait a long time.



I am running an up-to-date archlinux using Plasma and kioclient 5.4.2.
This problem occurs on every version of kio-extras I have tested so far (even from the 4.x branch), all with a fresh install of any distribution.

However, the problem only appears when using the smb kioslave. It works correctly using smbclient directly. My classmates using KDE also have this problem, but the others (using Windows, Mac OSX, or GNOME-based linux desktops) do not.
Comment 1 Adrien Prokopowicz 2015-10-17 15:03:40 UTC
Created attachment 95020 [details]
libsmbclient debug log
Comment 2 Harald Sitter 2020-02-11 13:19:23 UTC
Do you still have access to that network? Is this still a problem? If so which versions of libsmbclient are you using?

From looking at the current GVFS code gnome does pretty much what we do, which is to say it tells libsmbclient to use kerberos and only if that fails fall back to NTLM, so I would rather expect the same timeout. It's entirely possible I am not seeing a trick though.
Comment 3 Bug Janitor Service 2020-02-26 04:33:21 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 4 Bug Janitor Service 2020-03-12 04:33:16 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!