Child pages
  • Netatalk
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

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

$ ./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

Example configuration snippets (working with Netatalk 2.2 on OpenIndiana 151a with Mac OS X 10.7 clients);

/usr/local/etc/netatalk/afpd.conf:

- -noddp -transall -uamlist uams_dhx2.so -nosavepassword

/usr/local/etc/netatalk/AppleVolumes.default:

~ cnidscheme:dbd options:usedots,invisibledots,upriv fperm:0660 dperm:0770
/path/to/TimeMachine "TimeMachine" cnidscheme:dbd options:usedots,invisibledots,upriv,tm fperm:0660 dperm:0770

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

  • No labels