Netatalk

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 are currently no packages available for Open Indiana, so it must be built from source.

Installation Instructions for Open Indiana

Prerequisites

Open Indiana packages

The following packages are required to run netatalk:

# pkg install system/network/avahi service/network/dns/mdns

A build environment is required. You will need these packages installed if you don't already have them:

# pkg install developer/gcc/gcc-43 developer/gnu developer/gnu-binutils developer/gnome/gettext

Berkeley DB

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

$ cd build_unix
$ ../dist/configure --prefix=/usr/local
$ make
# make install

(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.)

Building netatalk

Download netatalk from: http://netatalk.sourceforge.net/

The current stable version is 2.1.5. Version 2.2 is in beta and is worth a look for those so inclined.

$ ./configure --without-ddp
$ make
# make install

You may need to add --with-bdb=/path/to/berkeleydb if configure can't find it.

Running Netatalk

For netatalk to publish it's services using Multicast DNS (Bonjour / ZeroConf / Avahi) you will need to enable these services:

# svcadm enable svc:/network/dns/multicast:default
# svcadm enable svc:/system/avahi-bridge-dsd:default

And start netatalk with this command

# /etc/init.d/netatalk start

PAM

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.

Configuration

TBD

For more information check out the Netatalk web site and mailing lists.