Samba configuration, status[NT_STATUS_ACCESS_DENIED],

I FINALLY managed to solve this problem.

first of all i removed the existing connections from windows 10 using net use * /delete from the command line since the credentials where saved and i changed them on the server

also for some reason i had to specify smbpasswd in /etc/samba/smb.conf: passdb backend = smbpasswd in the [global] section

also the /home permission where wrong and all my shares are in /home so i reset the permission to 755: chmod -R 755 /home

then i reset all the shares permission and group access based on my needs.


We had the [NT_STATUS_ACCESS_DENIED] error where users could access their HOME shares but not any other shares.

/var/log/samba/__ffff_172.16.0.35.log:

[2019/03/05 11:26:53.914706, 1] smbd/service.c:678(make_connection_snum) create_connection_server_info failed: NT_STATUS_ACCESS_DENIED

This was caused by Domain Controllers being restarted whilst SAMBA and WINBIND servers were running. Simply restarting services winbind & smb resolved the issue.

A light fix; but worth a mention