X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=config%2Fafpd.conf.tmpl;h=0994a116d4821f1f2475fac5ccd889e1451e20db;hb=8ea9eaad323ec8ea180ffc277cd409d713a5895f;hp=7db6dbe50d2f97140975867ae1c331adc3b666a1;hpb=f6a596fc1dcb60c6ebe9766d64b9c43347bd7232;p=netatalk.git diff --git a/config/afpd.conf.tmpl b/config/afpd.conf.tmpl index 7db6dbe5..0994a116 100644 --- a/config/afpd.conf.tmpl +++ b/config/afpd.conf.tmpl @@ -1,7 +1,8 @@ # # CONFIGURATION FOR AFPD # -# 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 # @@ -26,10 +27,16 @@ # -transall Make both available # # Transport Options: -# -ipaddr Specifies the IP address the server should respond -# to (default is the first IP address of the system) -# This option also allows one machine to advertise -# TCP/IP for another machine. +# -ipaddr Specifies the IP address that the server should +# advertise and listens to. The default is advertise +# the first IP address of the system, but to listen +# for any incoming request. The network address may +# be specified either in dotted-decimal format for +# IPv4 or in hexadecimal format for IPv6. +# This option also allows to use one machine to +# advertise the AFP-over-TCP/IP settings of another +# machine via NBP when used together with the -proxy +# option. # -server_quantum # Specifies the DSI server quantum. The minimum # value is 1MB. The max value is 0xFFFFFFFF. If you @@ -49,6 +56,11 @@ # port). this gets discarded if the server can't # resolve it. this is not honored by appleshare # clients <= 3.8.3 (default: none) +# -hostname Use this instead of the result from calling +# hostname for dertermening which IP address to +# advertise, therfore the hostname is resolved to +# an IP which is the advertised. This is NOT used for +# listening and it is also overwritten by -ipaddr. # -proxy Run an AppleTalk proxy server for specified # AFP/TCP server (if address/port aren't given, # then first IP address of the system/548 will @@ -57,7 +69,14 @@ # a ddp server as well, set -uamlist to an empty # string. # -slp Register this server with the Service Location -# Protocol. +# Protocol (if SLP support was compiled in). +# -nozeroconf Don't register this server with the Multicats +# DNS Protocol. +# -advertise_ssh Allows Mac OS X clients (10.3.3-10.4) to +# automagically establish a tunneled AFP connection +# through SSH. This option is not so significant +# for the recent Mac OS X. See the Netatalk Manual +# in detail. # # # Authentication Methods: @@ -142,7 +161,8 @@ # timing out a connection. # The default is 4, therefore a connection will # timeout in 2 minutes. -# -icon Use the platform-specific icon. +# -[no]icon [Don't] Use the platform-specific icon. Recent +# Mac OS don't display it any longer. # -volnamelen # Max length of UTF8-MAC volume name for Mac OS X. # Note that Hangul is especially sensitive to this. @@ -194,23 +214,32 @@ # "user" signature type allows administrator to # set up a signature string manually. # Examples: three servers running on one machine: -# first -signature user:USERS -# second -signature user:USERS -# third -signature user:ADMINS -# First two servers will act as one logical AFP service. -# If user logs in to first one and then connects to second -# one, session will be automatically redirected to the first -# one. But if client connects to first and then to third, -# will be asked for password twice and will see resources of -# both servers. -# Traditional method of signature generation causes two -# independent afpd instances to have the same signature and -# thus cause clients to be redirected automatically to -# server (s)he logged in first. +# first -signature user:USERS +# second -signature user:USERS +# third -signature user:ADMINS +# First two servers will act as one logical AFP +# service. If user logs in to first one and then +# connects to second one, session will be +# automatically redirected to the first one. But if +# client connects to first and then to third, +# will be asked for password twice and will see +# resources of both servers. +# Traditional method of signature generation causes +# two independent afpd instances to have the same +# signature and thus cause clients to be redirected +# automatically to server (s)he logged in first. +# -k5keytab # -k5service # -k5realm -# These are required if the server supports Kerberos 5 -# authentication +# These are required if the server supports +# Kerberos 5 authentication +# -ntdomain +# -ntseparator +# Use for eg. winbind authentication, prepends +# both strings before the username from login and +# then tries to authenticate with the result +# through the availabel and active UAM authentication +# modules. # # Codepage Options: # -unixcodepage Specifies the servers unix codepage, @@ -228,8 +257,13 @@ # the default for volumes maccharset. # # CNID related options: -# -cnidserver ipaddress:port Specifies the IP address and port of -# a cnid_metad server. +# -cnidserver +# Specifies the IP address and port of a +# cnid_metad server, required for CNID dbd +# backend. Defaults to localhost:4700. +# The network address may be specified either +# in dotted-decimal format for IPv4 or in +# hexadecimal format for IPv6. # @@ -241,16 +275,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 #