I have a directory on my Ubuntu 14 box that I'd like to connect to via my Windows 10 box. I've created a new Samba user, set the new user's password, and verified that the new user has the proper permissions for the directory. When I try map to this drive in Windows Explorer, however, I get an "Access is denied" error. I'd like to use the specific linux user 'music' only - I don't want to make this directory accessible to everyone/guests. 'music' needs to have both read and write access.
I'm using the username music@192.168.1.6 (LAN IP address is static) with the correct Samba password (verified with smbclient).
What do I need to do differently?
Here's the excerpt from my log.elwah file (elwah is the name of my Win10 box):
[2016/01/23 17:59:00.839965, 0] ../source3/smbd/uid.c:153(check_user_share_access)
user music connection to Music denied due to share security descriptor.
And here is my smb.conf file:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
wins support = yes
dns proxy = no
encrypt passwords = yes
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = no
ntlm auth = no
lanman auth = no
client ntlmv2 auth = yes
[Music]
comment = My shared music folder
path = /mnt/largemarge/music/
valid users = music
read only = no
guest ok = no