Netatalk is an open source implementation of the Apple File sharing Protocol (AFP). It supports Time machine and advertising of services with multicast dns (Bonjour in Apple's jargon).
See the netatalk site for more details: http://netatalk.sourceforge.net/
There is now a netatalk 2.2.0 package available from the SFE repository.
If you don't have the SFE publisher configured, see this page for how to do it: http://wiki.openindiana.org/oi/Spec+Files+Extra+Repository
Then, netatalk can be installed with the following command:
(It appears that the 'libgcrpyt' and 'avahi' dependencies are missing from the SFE package at present, and these need to be installed before netatalk will run.)
The following packages are required to run netatalk:
A build environment is required. You will need these packages installed if you don't already have them:
Netatalk requires Berkeley DB to be installed. (I have read a few issues with later versions of Berkeley DB, I use 4.7.25 and it works fine.)
Download Berkeley DB from Oracle (there doesn't seem : http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-082944.html
(Note, I chose to install bdb into /usr/local. it's default is "/usr/local/BerkeleyDB.4.7". If you use the default or another location, you will need to pass that to netatalk's configure below.)
Download netatalk from: http://netatalk.sourceforge.net/
The current stable version is 2.2. If your Mac OS clients are Lion (10.7) then be sure to build and use the "uams_dhx2.so" authentication module, otherwise they will not be able to connect. Please check the Netatalk website and mailing lists for more details.
You may need to add '--with-bdb=/path/to/berkeleydb' if configure can't find it.
For netatalk to publish it's services using Multicast DNS (Bonjour / ZeroConf / Avahi) you will need to enable these services:
And start netatalk with this command
Netatalk will complain that, while it supports PAM authentication, it can't automatically set up PAM for you on Solaris systems. You'll need to do this manually.
Example configuration snippets (working with Netatalk 2.2 on OpenIndiana 151a with Mac OS X 10.7 clients);
There has been some mention on the netatalk mailing list of the "nbmand" zfs property causing problems where users can create but not delete files over afp. If you are experiencing this problem, try `zfs set nbmand=off zpool/path/to/file/system`.
For more information check out the Netatalk web site and mailing lists.