Clients logging into File Services over SMB with OS X 10.9 experience hanging connection upon login attempt.
OS X 10.9 now utilizes a new SMB2 stack written by Apple. Apple's SMB2 implementation is not compatible with many other SMB2 NAS products on the market today while Windows 7, 8, and 8.1 works just fine. In short, its an Apple bug.
Workaround Option 1:
To force your connection to be SMB1, simply type cifs://servername instead of smb://servername when connecting to a Windows or NAS share. This is by far easier and requires no real configuration changes.
Workaround Option 2:
To force all connections to be SMB1:
- Open A terminal window
- paste in the following line followed by the return key(should be all on one line):
echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
What the command does:
- Creates a file called nsmb.conf in your home directory at the path ~/Library/Preferences/nsmb.conf.
- Adds directives to force SMB connections to use the SMB1 protocol. This is slower but stable.
How to remove the workaround:
- Open a terminal window
- paste in the following at the prompt and then hit the return button:
Its a good idea to restart your mac before trying to connect to your storage again. This will clear any hung SMB processes from previous attempts to connect to your storage before implementing this workaround.