Introduction
AFP (Apple File Protocol) is the native file sharing protocol used with Mac (OSX). It is supported under Linux, and therefore Debian, through TCP/IP sockets, as well as via Apple Talk. This is supported via the package netatalk.
Installation and setup
apt-get install netatalk
Configuration files are in /etc/netatalk/ with some daemon startup configs in /etc/defaults/netatalk
ATALKD_RUN=no Userspace network manager for Apple Talk network protocol PAPD_RUN=no Printing support CNID_METAD_RUN=yes Metadata catalogue AFPD_RUN=yes AFP file server TIMELORD_RUN=no Time server for old Macs If you don't have Apple Talk in the kernel, disable ATALKD and PAPD (as it requires ATALKD), else leave them enabled.
/etc/defaults/netatalk
References