X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=config%2Fnetatalk.conf;h=b8c1e67b731325483351384e5f7a87c5c631efc9;hb=64c01c136e708085840814c92ff7cf829a794317;hp=4d3bef9c9972a2e23a7d508826e8c3adafe6d512;hpb=e2bfe9b5f7a9e5bb7f08fa77b90783c462442bcf;p=netatalk.git diff --git a/config/netatalk.conf b/config/netatalk.conf index 4d3bef9c..b8c1e67b 100644 --- a/config/netatalk.conf +++ b/config/netatalk.conf @@ -1,27 +1,60 @@ -# Appletalk configuration -# Change this to increase the maximum number of clients that can connect: -AFPD_MAX_CLIENTS=20 +# Netatalk configuration -# Change this to set the machine's atalk name and zone. -# NOTE: if your zone has spaces in it, you're better off specifying -# it in afpd.conf -#ATALK_ZONE=@zone -ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1` +######################################################################### +# Global configuration +######################################################################### + +#### machine's AFPserver/AppleTalk name. +#ATALK_NAME=machinename + +#### server (unix) and legacy client (<= Mac OS 9) charsets +ATALK_UNIX_CHARSET='LOCALE' +ATALK_MAC_CHARSET='MAC_ROMAN' -# specify this if you don't want guest, clrtxt, and dhx -# available options: uams_guest.so, uams_clrtxt.so, uams_dhx.so, -# uams_randnum.so -#AFPD_UAMLIST="-U uams_clrtxt.so,uams_randnum.so" +#### Don't Edit. export the charsets, read form ENV by apps +export ATALK_UNIX_CHARSET +export ATALK_MAC_CHARSET -# Change this to set the id of the guest user -AFPD_GUEST=nobody +######################################################################### +# AFP specific configuration +######################################################################### -# Set which daemons to run (papd is dependent upon atalkd): -ATALKD_RUN=yes -PAPD_RUN=yes +#### Set which daemons to run. +#### If you use AFP file server, run both cnid_metad and afpd. +CNID_METAD_RUN=yes AFPD_RUN=yes -TIMELORD_RUN=no -A2BOOT_RUN=no -# Control whether the daemons are started in the background -ATALK_BGROUND=no +#### maximum number of clients that can connect: +#AFPD_MAX_CLIENTS=20 + +#### UAMs (User Authentication Modules) +#### available options: uams_dhx.so, uams_dhx2.so, uams_guest.so, +#### uams_clrtxt.so(legacy), uams_randnum.so(legacy) +#AFPD_UAMLIST="-U uams_dhx.so,uams_dhx2.so" + +#### Set the id of the guest user when using uams_guest.so +#AFPD_GUEST=nobody + +#### config for cnid_metad. Default log config: +#CNID_CONFIG="-l log_note" + +######################################################################### +# AppleTalk specific configuration (legacy) +######################################################################### + +#### Set which legacy daemons to run. +#### If you need AppleTalk, run atalkd. +#### papd, timelord and a2boot are dependent upon atalkd. +#ATALKD_RUN=no +#PAPD_RUN=no +#TIMELORD_RUN=no +#A2BOOT_RUN=no + +#### Control whether the daemons are started in the background. +#### If it is dissatisfied that legacy atalkd starts slowly, set "yes". +#ATALK_BGROUND=no + +#### Set the AppleTalk Zone name. +#### NOTE: if your zone has spaces in it, you're better off specifying +#### it in afpd.conf +#ATALK_ZONE=@zone