Bug 500788 - Dolphin does not enable the SMB service when configuring SMB for the first time.
Summary: Dolphin does not enable the SMB service when configuring SMB for the first time.
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: https://discuss.kde.org/t/unable-to-u...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-26 20:37 UTC by Roke Julian Lockhart Beedell
Modified: 2025-02-26 20:37 UTC (History)
1 user (show)

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


Attachments
Error modal window screenshot. (25.51 KB, image/png)
2025-02-26 20:37 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2025-02-26 20:37:08 UTC
Created attachment 178916 [details]
Error modal window screenshot.

SUMMARY
-------

`dolphin-24.12.2-1.fc41.x86_64` doesn't enable `smb.service` if its preset is set to `disabled`, and/or it is unstarted.

STEPS TO REPRODUCE
------------------

What *I* did is the undermentioned, so it deliberately isn't generalised for *trivial* reproduction elsewhere, but is reproducible:

1.	Installed `cpe:/o:fedoraproject:fedora:41`.
2.	Installed `dolphin-24.12.2-1.fc41.x86_64`:

	~~~sh
	#!/usr/bin/env sh
	sudo dnf5 --refresh install -y dolphin-24.12.2-1.fc41.x86_64
	~~~

3.	Navigated to [`$HOME/Public`][1].
4.	Right-clicked.
5.	Selected the "Properties" context menu entry.
6.	Selected the "Share" tab.
7.	Created a Samba password.
8.	Authorised the creation of a new Samba user, as prompted to by PolKit.
9.	Enabled sharing the directory via my LAN.
10.	Selected the "OK" button.

OBSERVED RESULT
---------------

> `net usershare add`: cannot convert name "Everyone" to a SID. The transport-connection attempt was refused by the remote system.. Maybe `smbd` is not running.

EXPECTED RESULT
---------------

The service should have been automatically enabled.

SOFTWARE/OS VERSIONS
--------------------

1.	~~~sh
	#!/usr/bin/env sh
	kinfo
	~~~

2.	> ~~~YAML
	> Operating System: Fedora Linux 41
	> KDE Plasma Version: 6.3.1
	> KDE Frameworks Version: 6.11.0
	> Qt Version: 6.8.2
	> Kernel Version: 6.13.4-200.fc41.x86_64 (64-bit)
	> ~~~

ADDITIONAL INFORMATION
----------------------

Originally discussed at [`discuss.kde.org/t/30396/3`][2].

[1]: file://localhost/home/RokeJulianLockhart/Public
[2]: https://discuss.kde.org/t/unable-to-use-smb-via-dolphin-because-a-username-cannot-be-converted-to-an-sid-has-anyone-a-workaround/30396/3?u=rokejulianlockhart