Netatalk is a free, open-source implementation of the AppleTalk (AFP) suite of protocols. It allows Unix-like operating systems to serve as file, print and time servers for Macintosh computers.
There is a netatalk package available in AUR. But the PKGBUILD should be modified to allow the faster CDB backend to be used.
Now run makepkg and install the package.
Edit the afpd configuration File (Template:Codeline) and the follwing line to the very end of the file replacing the existing one:
To add a shared volume, we have to edit the Template:Codeline-Configuration file, add a line like this:
Enable Time-Machine Support
To enable Autodiscover (your osx systems see your netatalk-server in the finder), we have to install avahi and nss-mdns
- pacman -S avahi nss-mdns
Create a new service configuration file (Template:Codeline):
Make it work with Lion
When you try to mount a shared drive with Lion, if you get the message "The version of the server you are trying to connect to is not supported", it's because AFP DHX2 Authentication is not supported, which Lion requires. It can be configured when building pre-2.2 versions of netatalk, or you can just install netatalk-git instead.