Install Netatalk 3.1.6 on OpenIndiana 151a9
The packages for building:
- system/library/security/libgcrypt (DHX2 auth)
- library/security/openssl (DHX auth aka DHCAST128)
- service/network/dns/mdns (Bonjour support)
- naming/ldap (enhanced ACL support)
- system/library/iconv/unicode (conversion table for legacy mac charset)
- system/library/dbus (used by afpstats command)
- system/library/libdbus (used by afpstats command)
- system/library/libdbus-glib (used by afpstats command)
- library/python-2/python-dbus-26 (used by afpstats command)
- database/berkeleydb-5 (dbd CNID backend)
Packages for developers
Extract a tarball.
$ tar -xvf netatalk-3.1.6.tar.bz2 $ cd netatalk-3.1.6
You should read the help message, in order to know configure options.
If the applicable libraries are installed, many options will be detected automatically.
$ ./configure --help
Do configure! The following options are not auto-detected.
$ ./configure \ --with-init-style=solaris \ --enable-krbV-uam \ --with-dbus-sysconf-dir=/etc/dbus-1/system.d
On successful completion, you will see a report similar to the following:
Compilation summary: CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir) CFLAGS = -D_U_="__attribute__((unused))" -g -O2 LIBS = -lsendfile -lsocket -lnsl PTHREADS: LIBS = CFLAGS = -D_REENTRANT -pthreads SSL: LIBS = -lcrypto -R/usr/lib -R/usr CFLAGS = -I/usr/include/openssl LIBGCRYPT: LIBS = -lgcrypt -lgpg-error CFLAGS = PAM: LIBS = -lpam CFLAGS = WRAP: LIBS = -lwrap CFLAGS = BDB: LIBS = -ldb-5.1 -R/usr/lib CFLAGS = GSSAPI: LIBS = -lgss -lsocket -lnsl CFLAGS = -D_U_="__attribute__((unused))" -g -O2 ZEROCONF: LIBS = -ldns_sd CFLAGS = LDAP: LIBS = -lldap CFLAGS = LIBEVENT: bundled TDB: bundled Configure summary: INIT STYLE: solaris AFP: Extended Attributes: ad | sys ACL support: yes Spotlight: no CNID: backends: dbd last tdb UAMS: DHX (PAM SHADOW) DHX2 (PAM SHADOW) RANDNUM (afppasswd) Kerberos V clrtxt (PAM SHADOW) guest Options: Zeroconf support: yes tcp wrapper support: yes quota support: yes admin group support: yes valid shell check: yes cracklib support: no ACL support: auto Kerberos support: yes LDAP support: yes AFP stats via dbus: yes dtrace probes: yes Paths: Netatalk lockfile: /var/spool/locks/netatalk init directory: /lib/svc/manifest/network/ dbus system directory: /etc/dbus-1/system.d configure: WARNING: PAM support was configured for your system, but the netatalk PAM configuration file configure: WARNING: cannot be installed. Please install the config/netatalk.pamd file manually. configure: WARNING: If you're running Solaris or BSD you'll have to edit /etc/pam.conf to get PAM working. configure: WARNING: You can also re-run configure and specify --without-pam to disable PAM support. Documentation: Docbook: no
Since the version of Tracker is 0.5.11, Spotlight feature cannot be used. See Netatalk 3.1 Manual - Chapter 2. Installation - Compiling Netatalk - Spotlight.
Unfortunately, there is no cracklib package.
Docbook is not needed because it is for developers only.
The mysql CNID backend cannot be used. See Netatalk-admins ML.
Make and install.
$ make # make install
Check features and paths, using "afpd -V".
$ /usr/local/sbin/afpd -V afpd 3.1.6 - Apple Filing Protocol (AFP) daemon of Netatalk This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Please see the file COPYING for further information and details. afpd has been compiled with support for these features: AFP versions: 2.2 3.0 3.1 3.2 3.3 3.4 CNID backends: dbd last tdb Zeroconf support: mDNSResponder TCP wrappers support: Yes Quota support: Yes Admin group support: Yes Valid shell checks: Yes cracklib support: No EA support: ad | sys ACL support: Yes LDAP support: Yes D-Bus support: Yes Spotlight support: No DTrace probes: Yes afp.conf: /usr/local/etc/afp.conf extmap.conf: /usr/local/etc/extmap.conf state directory: /usr/local/var/netatalk/ afp_signature.conf: /usr/local/var/netatalk/afp_signature.conf afp_voluuid.conf: /usr/local/var/netatalk/afp_voluuid.conf UAM search path: /usr/local/lib/netatalk// Server messages path: /usr/local/var/netatalk/msg/
[Global] [Homes] basedir regex = /home [Test Volume] path = /export/test1 [My Time Machine Volume] path = /export/timemachine time machine = yes vol size limit = 512000
You should check firewall. AFP's port number is 548. Zeroconf's port number is 5353.
# svcadm enable svc:/network/dns/multicast:default
# svcadm enable svc:/network/netatalk:default