If you are lucky enough to be using OS X Lion Developer Preview and you have a NAS drive, you will most likely come across a problem trying to connect to it.
Ok the issue is that i tried to access my Buffalo LinkStation over AFP with OS X LION Beta 1 and got a error message like this one above. I couldn’t login with a registered user on my Buffalo LinkStation. The guest account worked fine but no chance with a registered one.
So i found a solution and explanation at the Apple Developer Forum. Apple disables support for the “DHCAST128″ in OS X 10.7 LION , which is commonly used by NAS boxes. Apple thinks is it insufficiently secure. So all the Vendors must work with Apple for Lion compatibility.
To turn on “DHCAST128″ support please do the following:
1) Launch /Applications/Utilities/Terminal and do:
sudo chmod o+w /Library/Preferences
defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1
Now restart your computer.
2) From Finder, select an AFP server, or use “Connect To…”. This will cause the AFP Client to create the full preferences file
3) Launch Terminal again and do:
sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array "Cleartxt Passwrd" "MS2.0" "2-Way Randnum exchange"
sudo chmod o-w /Library/Preferences
Now restart your computer.
You should now be able to connect to your NAS device.
If your NAS provider fixes the issue; you can add a “DHCAST128″ to the disable list, by doing this:
sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array-add "DHCAST128"
I tried it at my OS X LION installation an it worked like a dream. I hope that all the Vendors like Buffalo, QNAP, Synology etc. will patch that in future firmware releases.




Recent Comments