Recently I've had to reinstall Ubuntu Server 15.10 64-bit after wiping my home server due to an insecure password-only SSH server sitting on it for too long. Now, I'm plagued with setting my machine up again and along with it is Samba shares. I'm able to get Samba to correctly share a folder publicly, but I'm currently looking to make only 1 private share available that can only be signed in from the one main user on the machine.
Testparm gives no errors. Here is my smb.conf file.
I've made sure that:
- My user account is a part of the
sambasharegroup. - I have
sudo smbpasswd -a <user>andsudo smbpasswd -e <user>for my username on the machine. - My username has permission to read and write folders and files on the folder the share is pointed to.
To make sure there are no errors, I've increased the log level in smb.conf and here is the output of an average sudo service smbd restart on /var/log/samba/log.smbd.
Whenever I go to my Windows machines and go to my server's SMB shares, I see the share "storage" appear. Clicking on it makes it load for a tiny second and then it asks for authentication because access was denied. Then, I type in my server's username & password I set up with smbpasswd and it still says access is denied. What am I missing?
Note: I've installed samba previously on this machine and then immediately purged it after this failure occured. Later, I reinstalled samba and I noted some things were astray. I corrected them and I'm back to this issue again.