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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/1abb495
                   |                            |3f1d7dc351821cc2af520db00d6
                   |                            |522d88
         Resolution|WAITINGFORINFO              |FIXED

--- Comment #2 from Méven <[email protected]> ---
Git commit 1abb4953f1d7dc351821cc2af520db00d6522d88 by Méven Car.
Committed on 12/10/2026 at 11:07.
Pushed by meven into branch 'master'.

Do not resolve the samba interfaces when listing usershares

net resolves every name of the "interfaces" parameter of smb.conf before it
runs a command. An interface that was up without an address made each lookup
wait for a DNS timeout of about 4 seconds, and "net usershare info" took 8
seconds.

Listing the usershares only reads the share files. "net usershare info" now
runs with interfaces set to 127.0.0.1, which needs no lookup. The option
applies only to that net process, and smb.conf, smbd and the network browsing
are unchanged.
Related: bug 526668

M  +8    -1    src/core/ksambashare.cpp

https://invent.kde.org/frameworks/kio/-/commit/1abb4953f1d7dc351821cc2af520db00d6522d88

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

Reply via email to