How to set up AFP filesharing on Ubuntu
This how-to is a mashup of two different tutorials that I found on the web, but neither was up-to-date or did everything that I wanted. But thanks for to Kremalicious and damontimm for getting me started.
After struggling with using Samba for filesharing on our mac-only network (the final straw was file permissions that just wouldn’t work for everyone), I finally gave up and decided to try using AFP instead. I’d looked at it before, but it didn’t look easy to set up or production ready, but things have changed and I didn’t find it hard at all and it’s now working far better than Samba ever did.
There are two components to natural looking AFP:
(Zeroconf is the unbranded name for Bonjour, and is necessary to advertise your AFP volume over the network) In the case of Ubuntu these are provided by Netatalk and Avahi respectively, and as neither come by default on Ubuntu we have to install and configure both (but it’s not as hard as it sounds).
via missingreadme.wordpress.com