79371130

Date: 2025-01-20 11:21:41
Score: 1
Natty:
Report link

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.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @tdltdc
  • Low reputation (1):
Posted by: user29279179