https://bugs.kde.org/show_bug.cgi?id=528714

--- Comment #1 from PreviewTester <[email protected]> ---
Created attachment 198379
  --> https://bugs.kde.org/attachment.cgi?id=198379&action=edit
kio-extras: Prompt for SMB credentials when stat returns EINVAL

This makes SMB stat try the existing authentication path when libsmbclient
returns EINVAL, matching listDir. The retry happens before stat metadata
conversion, which can also return EINVAL for an unsupported file type.

I tested this with a clean credential cache against the same authenticated
Windows 11 24H2 share from the report. A second issue turned up in KNetAttach:
its stat job had no UI delegate and KIO sent <NoAuthPrompt> to kpasswdserver.
The companion plasma-desktop patch makes that job interactive. I verified the
original behavior, tested each patch individually, and confirmed that the two
together display the password dialog, save the network folder, and open the
share with hello.txt visible. Canceling the password prompt leaves no saved
location.

Tested with kio-extras 25.04.3 and Plasma Desktop 6.3.6, and with builds of the
patched upstream worker (b0f360722765) and KNetAttach (748e64bb09e0) on Debian
13, with KIO 6.13 and libsmbclient 4.22.11.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to