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.
Created attachment 95020 [details] libsmbclient debug log
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.
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!
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!