Enable AFP connection in OS X Mountain Lion


Warning: in_array() expects parameter 2 to be array, string given in /usr/local/4admin/apache/vhosts/tarlink.com/httpdocs/wp-content/plugins/facebook-button-plugin/facebook-button-plugin.php on line 244

Warning: in_array() expects parameter 2 to be array, string given in /usr/local/4admin/apache/vhosts/tarlink.com/httpdocs/wp-content/plugins/facebook-button-plugin/facebook-button-plugin.php on line 246

Many websites explain how to connect to share drive, client or server through the AFP protocol but solutions shows there does not work all the time.

By default that protocol is disabled and file com.apple.AppleShareClient.plist should be located in folder I listed below:

/Library/Preferences/

Steps at the tutorial website Connecting to legacy AFP services
does not work on OS X Mountain Lion so I decided to share the file I created.

To make AFP works just download this file and paste it in to the folder on your mac:

/Library/Preferences/com.apple.AppleShareClient.plist

Make sure that you are in the root folder Library /Library not in your user home folder /Users/[user]/Library.