0

I edited my /etc/samba/smb.conf file, and now my samba share is not accessible and the the /var/log/samba/log.smbd is reporting a non-useful mkdir error. I have removed the changes I thought I made, but that did not help.

0

To restore a samba config to the original, I did the following:

  • Download the image.
  • Extract the image.
  • Clone the image on to a flash drive: sudo dd bs=4M if=retropie-4.3-rpi2_rpi3.img of=/dev/sdb conv=fsync
  • Copy the file on the flashdrive to the Pi: scp .../etc/samba/smb.conf pi@192.168.0.1:/tmp/
  • On the pi: sudo mv /tmp/smb.conf /etc/samba/
  • Or, sudo apt-get install --reinstall samba samba-common-bin ? – Roger Jones May 20 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.