Mac OS X: Cannot Connect to Windows (SMB) Server Using Password Stored in Keychain

This document explains how to connect to a Windows (SMB) server with a user name and password stored in the keychain.
Symptom

After storing your user name and password for an SMB server in a keychain, the stored information does not work as you would expect when you connect to the server again. You must re-enter your user name and password.

Solution

Create an alias of the SMB share point. Follow these steps:

The next time you connect to this SMB volume using the alias, the keychain will work as expected.

Additional information

If you click the Computer button in a Finder window then select a volume, the Make Alias command is dimmed. This is normal behavior, because accounts other than root do not have permission to create new items in the Computer list. Dragging the volume to a place where you have permission allows you to make the alias, as you did in the steps above.
Published Date: Feb 17, 2012