X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=config%2Fafpd.conf.tmpl;h=325ce6a6f3d1ed23c847a33ab33944037dfec679;hb=751630e5eeb504472091c7ae0768a6705b0721ca;hp=377592120173b11d26a6d580bf016042fa5f9c19;hpb=55c0d6d753dc022689616dedf38523e8388d4fd2;p=netatalk.git diff --git a/config/afpd.conf.tmpl b/config/afpd.conf.tmpl index 37759212..325ce6a6 100644 --- a/config/afpd.conf.tmpl +++ b/config/afpd.conf.tmpl @@ -1,7 +1,8 @@ # -# CONFIGURATION FOR AFPD +# CONFIGURATION FOR AFPD (Netatalk 2.x) # -# Each line defines a virtual server that should be available. +# Each single line defines a virtual server that should be available. +# Though, using "\" character, newline escaping is supported. # Empty lines and lines beginning with `#' are ignored. # Options in this file will override both compiled-in defaults # and command line options. @@ -10,7 +11,7 @@ # # Format: -# - [options] to specify options for the default server +# - [options] to specify options for the default server # "Server name" [options] to specify an additional server # @@ -67,6 +68,24 @@ # if you don't want the proxy server to act as # a ddp server as well, set -uamlist to an empty # string. +# -dsireadbuf [number] +# Scale factor that determines the size of the +# DSI/TCP readahead buffer, default is 12. This is +# multiplies with the DSI server quantum (default +# ~300k) to give the size of the buffer. Increasing +# this value might increase throughput in fast local +# networks for volume to volume copies. Note: This +# buffer is allocated per afpd child process, so +# specifying large values will eat up large amount of +# memory (buffer size * number of clients). +# -tcprcvbuf [number] +# Try to set TCP receive buffer using setsockpt(). +# Often OSes impose restrictions on the applications +# ability to set this value. +# -tcpsndbuf [number] +# Try to set TCP send buffer using setsockpt(). +# Often OSes impose restrictions on the applications +# ability to set this value. # -slp Register this server with the Service Location # Protocol (if SLP support was compiled in). # -nozeroconf Don't register this server with the Multicats @@ -239,6 +258,47 @@ # then tries to authenticate with the result # through the availabel and active UAM authentication # modules. +# -dircachesize entries +# Maximum possible entries in the directory cache. +# The cache stores directories and files. It is used +# to cache the full path to directories and CNIDs +# which considerably speeds up directory enumeration. +# Default size is 8192, maximum size is 131072. Given +# value is rounded up to nearest power of 2. Each +# entry takes about 100 bytes, which is not much, but +# remember that every afpd child process for every +# connected user has its cache. +# -fcelistener host[:port] +# Enables sending FCE events to the specified host, +# default port is 12250 if not specified. Specifying +# mutliple listeners is done by having this option +# once for each of them. +# -fceevents fmod,fdel,ddel,fcre,dcre,tmsz +# Speficies which FCE events are active, default is +# fmod,fdel,ddel,fcre,dcre. +# -fcecoalesce all|delete|create +# Coalesce FCE events. +# -fceholdfmod seconds +# This determines the time delay in seconds which is +# always waited if another file modification for the +# same file is done by a client before sending an FCE +# file modification event (fmod). For example saving +# a file in Photoshop would generate multiple events +# by itself because the application is opening, +# modifying and closing a file mutliple times for +# every "save". Defautl: 60 seconds. +# -keepsessions Enable "Continuous AFP Service". This means the +# ability to stop the master afpd process with a +# SIGQUIT signal, possibly install an afpd update and +# start the afpd process. Existing AFP sessions afpd +# processes will remain unaffected. Technically they +# will be notified of the master afpd shutdown, sleep +# 15-20 seconds and then try to reconnect their IPC +# channel to the master afpd process. If this +# reconnect fails, the sessions are in an undefined +# state. Therefor it's absolutely critical to restart +# the master process in time! +# -noacl2maccess Don't map filesystem ACLs to effective permissions. # # Codepage Options: # -unixcodepage Specifies the servers unix codepage, @@ -248,8 +308,8 @@ # Defaults to LOCALE if your system supports it, # otherwise ASCII will be used. # -# -maccodepage Specifies the mac clients codepage, -# e.g. "MAC_ROMAN". +# -maccodepage Specifies the legacy clients (<= Mac OS 9) +# codepage, e.g. "MAC_ROMAN". # This is used to convert strings to the # systems locale, e.g. for authenthication # and SIGUSR2 messaging. This will also be @@ -264,6 +324,14 @@ # in dotted-decimal format for IPv4 or in # hexadecimal format for IPv6. # +# Avahi (Bonjour) related options: +# -mimicmodel +# Specifies the icon model that appears on +# clients. Defaults to off. Examples: RackMac +# (same as Xserve), PowerBook, PowerMac, Macmini, +# iMac, MacBook, MacBookPro, MacBookAir, MacPro, +# AppleTV1,1, AirPort +# # @@ -274,16 +342,19 @@ # 4 servers w/ names server1-3 and one w/ the hostname. servers # 1-3 get routed to different ports with server 3 being bound # specifically to address 192.168.1.3 +# # - # server1 -port 12000 # server2 -port 12001 # server3 -port 12002 -ipaddr 192.168.1.3 # # a dedicated guest server, a user server, and a special -# ddp-only server: -# "Guest Volume" -uamlist uams_guest.so -loginmesg "Welcome guest!" -# "User Volume" -uamlist uams_clrtxt.so -port 12000 -# "special" -notcp -defaultvol -systemvol +# AppleTalk-only server: +# +# "Guest Server" -uamlist uams_guest.so \ +# -loginmesg "Welcome guest! I'm a public server." +# "User Server" -uamlist uams_dhx2.so -port 12000 +# "special" -ddp -notcp -defaultvol -systemvol #