netatalk.conf
netatalk.conf is a configuration file used by certain netatalk init scripts to determine what portions of the file system will be shared via AFP, as well as their behaviors.
If netatalk has been configured with --enable-debian, this file is named /etc/default/netatalk without the file ending.
If netatalk has been configured with --enable-systemd, the netatalk.conf file is NOT used at all. Instead, the startup settings are governed by the systemd unit configuration files of the netatalk daemons, in tandem with the configuration files of each daemon individually.
Any line not prefixed with # is interpreted. The configuration lines are composed like this:
option = value
The possible options and their meanings are:
Sets the id of the guest user to a local user on the system.
Sets the maximum number of clients that can simultaneously connect to the server.
Enables the afpd daemon if set to "yes". This should be enabled if you are planning on using netatalk as a file server.
Sets the default UAMs for afpd (and papd, if printer authentication is compiled in) to use.
Example: AFPD_UAMLIST="-U uams_guest.so,uams_randnum.so"
Enables the cnid_metad daemon if set to "yes". This should be enabled if you are going to use the dbd CNID backend.
Configuration options for cnid_metad. See: cnid_metad(8)
"yes" will set netatalk to initialize in the background, and "no" will cause normal initialization.
Sets the machines' Appletalk name.
Sets the machines' Appletalk zone.
Enables the atalkd daemon if set to "yes". This should be enabled if you are planning on providing Appletalk services.
Enables the papd daemon if set to "yes". This should be enabled if you are planning on using netatalk as a print server.
Set the Mac client codepage, used by atalkd and papd to convert extended characters from the Unix to the Mac codepage.
Set the Unix codepage, used by atalkd and papd to convert extended characters from the Unix to the Mac codepage. Has to match the codepage of the configuration files.