A fresh install of windows 7 might have a problem with samba shares,
if you setup samba logging you will see errors like this:
[2009/08/26 09:15:53, 3] smbd/connection.c:yield_connection(76)
yield_connection: tdb_delete for name failed with error Record does not exist.
[2009/08/26 09:15:53, 3] smbd/server.c:exit_server(614)
although the user was able to connect from a different PC with a different operating system.
I found this great solution for the samba connection problem,
and to break it to a few simple steps:
- from the run command or from a cmd window run secpol.msc
- go to “Local Policies” -> “Security Options” -> “Network Security: LAN Manager authentication level”
- change to “LM and NTLM – use NTLMV2 session security if negotiated”
- Press the OK button
This solution worked just fine on a fresh windows 7 install.