I am trying to get SAMBA setup on my file server, but no matter what I do, every single logon always returns "Access Denied." This is odd, because the connection is denied even before I have gotten a chance to enter a password. The SMB.CONF I'm using is here:
[global] workgroup = WORKGROUP guest ok = yes hide dot files = no admin users = billy map to guest = Bad User restrict anonymous = 0 unix password sync = yes browseable = true readonly = false announce as = MUSICMAN File Server auth methods = guest sam client lanman auth = yes client ntlmv2 auth = yes csc policy = disabled [homes] valid users = billy, max, dad [filesystemroot] path = / [music] path = /music valid users = billy, dad
Let me add that none of the popular GUI tools are an option here, as this machine has no X Server or Window Manager installed; I have SSH access to it only.
I can verify that each of these unix usernames exists.
My client machine is running Windows Vista Ultimate SP1. I have tried modification of the "Lan Manager Authentication Level" setting, which has no effect.
I don't want to modify this setting anyway, as I have personally cracked many LM and NTLM passwords, and trust neither protocol. Ideally, I would like to get smbd to play nice with Vista machines without reconfiguring the clients.
EDIT: I forgot to add that I have a Windows XP Professional SP3 machine, and it all works okay there.
EDIT2: Also, I am correctly restarting samba after configuration changes (sudo /etc/init.d/samba restart). The Vista machine connects to Windows XP servers without a problem.
Edited by Billy O'Neal, 24 June 2008 - 08:58 PM.