Samba installation fails, missing directories
Solution 1:
Reinstalling samba (with apt-get remove --purge samba
and apt-get install samba
) didn't work, but what worked was to reinstall samba-common and samba-common-bin
apt-get install --reinstall samba-common samba-common-bin