Greetings,
I encountered this problem with a client's network and thought it would be a good idea to share this info since it doesn't seem to be on the 'net anywhere. The client in question has a network that is *
VERY* secure. Even their VPN has a 40-minute connection timeout.
So, I configured Samba to be secure as well by making sure that every share had
browseable = no and even added the following to the end of the smb.conf:
Code:
[IPC$]
hosts allow = 127.0.0.1
hosts deny = 0.0.0.0/0
browseable = no
That kills the
IPC$ "share" from being accessible from outside the server.
WELL... this, in turn, kills Windows 7 authentication to
any of the file shares on the server. Windows XP can connect just fine, but Win7 will keep giving you the dreaded "Error 5: Access is denied" error. Commenting it out (and restarting samba, if necessary) allows Win7 to authenticate and connect to the file shares.
This was with Samba-3.6.9.
Hope this helps others before they go bald pulling their hair out.