Samba problem. code=exited, status=255


(D) #22

Many thanks. :pray: It worked perfect, after a reboot…

EDIT: I also had to change the permissions of /var/lib/samba/msg.sock, THEN it worked perfectly. (Just remembered i did that)

so my actual fix was : net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin && chmod 755 /var/lib/samba/private/msg.sock
(the permissions were 700 for some reason)

then this output:

service smbd status
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-12-06 14:44:00 EST; 52s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 1322 (smbd)
Status: “smbd: ready to serve connections…”
Tasks: 4 (limit: 4915)
Memory: 13.7M
CGroup: /system.slice/smbd.service
├─1322 /usr/sbin/smbd --foreground --no-process-group
├─1324 /usr/sbin/smbd --foreground --no-process-group
├─1325 /usr/sbin/smbd --foreground --no-process-group
└─1326 /usr/sbin/smbd --foreground --no-process-group

Dec 06 14:44:00 parrot systemd[1]: Starting Samba SMB Daemon…
Dec 06 14:44:00 parrot systemd[1]: Started Samba SMB Daemon.