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:
sambashare
group.sudo smbpasswd -a <user>
and sudo smbpasswd -e <user>
for my username on the machine.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.
The conclusion that I have reached is that I couldn't connect to my share because the version of Samba that is installed with Ubuntu 15.10 (Samba 4.1.17) had a bug that didn't allow it to properly authenticate users. My solution for this problem was installing Ubuntu 14.04.3 LTS and using Samba 4.1.6 along with it. Now Samba works flawlessly.
Note: I retried with a fresh copy of Ubuntu Server 15.10 to validate my conclusion and it is clear that Samba 4.1.17 in Ubuntu Server 15.10 is buggy.
My recommended solution? Install Debian instead.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다