If you have an SMB Storage, such as Buffalo Linkstation Live, you noticed that you will get an error over AFP with OS X LION 10.7. like the image above. There is a solution to fix, at least until there’s an update from Buffalo, QNap, Synology etc. Below is the solution to the temporary fix.
This error is in reference to: com.apple.appleshareclient afp_disabled_
First, Launch the Terminal at /Applications/Utilities/Terminal
Second, copy the line below to Terminal
sudo chmod o+w /Library/Preferences defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1
Third, enter your password in if you have any, if you don’t, just hit Enter key.
Fourth, restart the computer.
After the computer restarts, do the following:
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 the following:
Copy the line below to Terminal
sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange”
Enter in your password if any
Copy the line below to Terminal
sudo chmod o-w /Library/Preferences
Now restart the computer
After your Mac restarts, connect to your NAS or SMB via Finder and it should work. I applied this to three of my OS-X Lion on Mac Book Air, iMac 27, and Mac Mini and all worked like a charm on my Buffalo Linkstation Live 1TB