All,
I have found a solution! (WD Engineers read this as well)
After Speaking with the WD Level 2 Techs yesterday I found out that that the problem with AFP not working in Mac OS 10.7 (Lion) comes down to Apple changing the AFP protocol itself.
All Mac OS X OS’s use an software API called “netatalk” which is the software built into the OS that makes AFP happen
netatalk’s current release version is 2.1.2 which makes AFP 3.2 happen
WD Sharespace’s firmware currently supports AFP 3.2
What that means is if you update your WD sharespace to the latest firmware (as of this post) it WILL work with Mac OS X 10.2 - 10.6.8
But
This problem only happened when we all updated to Mac OS X 10.7 (Lion)
Lion uses netatalk 2.1.3 which is functionally identical to 2.1.2 but with one change to AFP 3.2 which is causing this problem.
Apple in their wisdom, figure that a particular authentication protocol within the implementation of AFP 3.2 called DHCAST128 is very insecure, so they turned it off… It hasn’t been removed, but just turned off within Lion.
Because WD Sharepaces use AFP 3.2, WD did the right thing and used DHCAST128 (As per Apple’s guidelines) so its not WD’s fault that this problem arose, its Apple’s fault for changing the standard…
Now, there is a new version of netatalk 2.2 which is in beta atm that is a new version of AFP called AFP 3.3. This WILL be the new standard and WD are working on a beta firmware right now which has AFP 3.3 in it.
OS X Lion uses AFP 3.2 & 3.3
There is no timeframes as to when WD will release the AFP 3.3 version of the firmware, as the protocol itself is still in beta and it would be very stupid of them if they released a firmware with beta software in it…
So until then (whenever that is) lets just turn DHCAST128 back on and the problem goes away…
This is how to do it :-
- 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.
-
From Finder, select an AFP server, or use “Connect To…”. This will cause the AFP Client to create the full preferences file
-
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.
Now your WD sharespace WILL work wth AFP again in Mac OS X Lion 10.7
** WD Techs note - when you do release the updated sharespace firmware, I will post a way to reverse this so compitability will be retained.