Bug 365829

Summary: Samba Share tab says "Samba is not installed on your system"
Product: [Frameworks and Libraries] kdenetwork-filesharing Reporter: Gregor Mi <codestruct>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: elvis.angelaccio, nate, wbauer1
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 16.04.2
Sentry Crash Report:

Description Gregor Mi 2016-07-18 19:52:10 UTC
On openSUSE 42.1 with latest KDE packages I just discovered the "Share" tab on a folder's properties dialog. And a bug :) ...

It says "Samba is not installed on your system" (but samba is installed). When I click "Install Samba..." after giving root pw there is a loading animation which disappears after 10 seconds. Then one can select to share something. When I open the Share tab again, it's the same as before (samba not installed).
Comment 1 Gregor Mi 2016-07-18 19:52:47 UTC
I forgot to mention: the samba package is installed and there is no message on the console.
Comment 2 Nate Graham 2018-05-08 18:56:28 UTC
Is this reproducible with more recent software? Last time I saw this, it was a legit error message, and successfully installed Samba when I clicked the install button.
Comment 3 Wolfgang Bauer 2018-05-09 14:57:57 UTC
See https://bugzilla.opensuse.org/show_bug.cgi?id=1013345#c4 .

The code looked for smbd only in the user's path, but openSUSE installs it to /usr/sbin/ which is normally not in a (non-root) user's PATH so it wasn't found even if installed.

Should be fixed since KDE Applications 16.04.2:
https://cgit.kde.org/kdenetwork-filesharing.git/commit/?h=Applications/16.04&id=fb48a2e997eb76ff2eeff1e69c2db35478c2f0c0
Comment 4 Gregor Mi 2018-05-15 09:55:33 UTC
I tried again on an recent openSUSE Tumbleweed system with this result: https://bugs.kde.org/show_bug.cgi?id=394273, original bug is fixed, but there are some details left.