Linux Netatalk-HOWTO: afpd.conf
by Anders Brownworth
[]
Version 2.1.1
January 29, 2002
http://www.anders.com/projects/netatalk/afpd.conf.html
Download
Tips
Quick Start
Utilities
Contacts

Linux Netatalk-HOWTO
afpd.conf

Settings in the afpd.conf file define Appletalk over TCP/IP and Classic Appletalk (DDP) servers. The simplest afpd.conf file just includes a - which stands for "this machine" with all the default options. A slightly more complicated example would be a file contaning one word, Balboa, as the name of the server.

A few examples: Let's assume we have a server called "balboa" with the following afpd.conf file:

-
Balboa2 -port 12000
"Bad Boy" -port 12001
"Out There" -port 12000 -address 206.114.89.46

The first line ( - ) gives you a server called balboa. The second line creates a server called Balboa2 on port 12000 and the third creates yet another server called Bad Boy on port 12001. The last line creates a server called Out There bound to port 12000 on virtual IP address 206.114.89.46.

"Guest Volume" -nocleartxt -loginmesg "Pay homage to my guest server!"

This line will create a dedicated guest server. -nocleartxt disables password login, hence the guest nature of the server. A login message will be shown after the guest user connects.

"The Vault" -noguest -port 12000

With this setting we will get a volume on port 12000 called The Vault which will not allow guest access.

"Inner Sanctum" -notcp -defaultvol <path> -systemvol <path>

Here we define a server called Inner Sanctum which does not use TCP/IP (DDP only) and uses an alternate AppleVolumes.default and AppleVolumes.system file. Don't forget to replace <path> with the correct path and file name.

Format of lines in this file:

    server [ -tcp ] [ -ddp ] [ -guest ] [ -loginmesg message ] ...

There are a whole plethora of options available. Here they are for
your edification:
        toggles (-no

Origional document: [http://www.anders.com/projects/netatalk/afpd.conf.html]