I have an MBP with Yosemite connected to my home network, and I want to automatically mount three hard drives located on a Windows 8 computer also connected to the network.
When I connect using "Finder->Go->Connect to server...", OS X remembers my user name and password, so all I have to do is this move three times, one for each hard drive on the Windows computer in question.
But I don't want to manually add these drives every time I log in or restart the Mac. So I add these network drives to "System Preferences->Users and Groups->My Name->Login Items" by simply dragging their icons from the Desktop to the item window.
But upon login or reboot, OS X doesn't remember the user name or password, and prompts me for it. And it doesn't help that I tick the "Remember password in Keychain" box.
EDIT: There are three keychain entries for the server (whose name is "HTPC"): internet password, network password, and certificate. The relevant entry in this case is, I guess, the network entry. It does have the correct account name and the correct password for the server. But I begin to suspect something else is happening here, since the logon dialog (that says 'Enter your name and password for the server "HTPC".' has 'Name: christer.tamm' when the keychain entry has 'Name: firstname.lastname@example.org'. I'll try changing my user name in Windows 8, perhaps OS X doesn't handle the '@' character as it should. /EDIT
EDIT II: I tried supplying another account to log on with, this one without an '@'. Didn't work either. But then I just deleted ALL keychain entries to 'HTPC', and tried the same procedure as in the beginning of this tragic story. Lo and behold, it now works as it should. So while I am pretty clueless as to exactly what was wrong, deleting all the entries helped solving the problem. /EDIT II
What is going on here? Am I doing something wrong? Why doesn't OS X behave as I expect it to?