I have a Samba share on my Ubuntu server which I map as a network drive on my Windows 7 Professional computer.
After every reboot it shows the drive as disconnected and to access it I have to renter my password even though every time I enter the password I check the 'Remember my credentials' box.
Is there way to have Windows 7 remember the credentials on a reboot/shutdown or is it just to remember them per session?
Best Answer
This issue bothered me for ages. What finally fixed it was the following:
If I understand correctly, some whacky security policy is wiping out the credentials because you're not authenticating against a windows domain. Adding the server name tricks Windows into thinking there's a domain there, and so it dutifully remembers the password. Or something.
Big shout out to Microsoft for this. Well done. /sarcasm
http://alinconstantin.blogspot.com/2009/10/windows-7-cannot-access-smb-shares-on.html
http://alinconstantin.blogspot.com/2010/03/network-shares-on-smb-server-could-not.html
For what it's worth, I tried several other things before this, and I don't know if any of them had an effect. See these blog entries for details: