Solved! How to get past ‘tree connect failed: NT_STATUS_ACCESS_DENIED’?
I set up a new samba server and one of our windows users was unable to connect, even though 2 others were able to connect.
I was going crazy trying to figure this out, eventually the solution was to log in as that user once via ssh, then he was able to connect with samba!
the error message that was revealed by testing the samba login on the server with
# smbclient //HOSTNAME/FOLDER
Password:
Anonymous login successful
Domain=[HOMENET] OS=[Unix] Server=[Samba 3.0.2-7.FC1]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME