If you are running samba as a standalone server (and not an active directory domain controller), you should use the smbd
service instead of the samba
service (which is linked with samba-ad-dc.service
as mentioned by @tdltdc).
So, this command should work :
$ sudo systemctl start smbd
$ sudo systemctl status smbd
● smbd.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; preset: enabled)
Active: active (running) since Mon 2025-01-20 11:05:11 UTC; 5s ago
and you should have access to your share.
There is always a confusion with the service samba
and smbd
.