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:
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:
Make sure that you are in the root folder Library /Library not in your user home folder /Users/[user]/Library.