]> arthur.barton.de Git - netatalk.git/commitdiff
forgotten options
authorhat001 <hat001>
Fri, 2 Apr 2010 16:17:18 +0000 (16:17 +0000)
committerhat001 <hat001>
Fri, 2 Apr 2010 16:17:18 +0000 (16:17 +0000)
config/afpd.conf.tmpl
etc/afpd/afp_options.c

index 7db6dbe50d2f97140975867ae1c331adc3b666a1..4c9ea98dbfa9243565069cdb968bfa0204c8d58f 100644 (file)
 #     -transall      Make both available
 #
 #   Transport Options:
-#     -ipaddr <w.x.y.z>   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 <ipaddress> 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 <number> 
 #                         Specifies the DSI server quantum. The minimum
 #                         value is 1MB. The max value is 0xFFFFFFFF. If you 
 #                         port). this gets discarded if the server can't
 #                         resolve it. this is not honored by appleshare
 #                         clients <= 3.8.3 (default: none)
+#     -hostname <name>    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
 #                         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).
+#     -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:
 #                         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 <number>
 #                         Max length of UTF8-MAC volume name for Mac OS X.
 #                         Note that Hangul is especially sensitive to this.
 #                         "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 <path>
 #     -k5service <service>
 #     -k5realm <realm>
-#                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 <CODEPAGE>  Specifies the servers unix codepage,
 #                               the default for volumes maccharset.
 #
 #   CNID related options:
-#     -cnidserver ipaddress:port   Specifies the IP address and port of
-#                                  a cnid_metad server.
+#     -cnidserver <ipaddress:port>
+#                               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.
 #
 
 
index 59c1cdfa022a5dd0768b97a480d4d0c55174c2e1..aa728512e0ba722be8133d4d5f23f1ea25b699fc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: afp_options.c,v 1.53 2010-03-29 15:22:57 franklahm Exp $
+ * $Id: afp_options.c,v 1.54 2010-04-02 16:17:22 hat001 Exp $
  *
  * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
@@ -594,13 +594,13 @@ static void show_paths( void )
 }
 
 /*
- * Display usage information about adpd.
+ * Display usage information about afpd.
  */
 static void show_usage( char *name )
 {
-       fprintf( stderr, "Usage:\t%s [-dDIptTu] [-c maxconnections] [-f defaultvolumes] [-F config]\n", name );
-       fprintf( stderr, "\t     [-g guest] [-L message] [-m umask][-n nbpname] [-P pidfile]\n" );
-       fprintf( stderr, "\t     [-s systemvolumes] [-S port] [-U uams]\n" );
+       fprintf( stderr, "Usage:\t%s [-duptDTI] [-f defaultvolumes] [-s systemvolumes] [-n nbpname]\n", name );
+       fprintf( stderr, "\t     [-c maxconnections] [-g guest] [-P pidfile] [-S port] [-L message]\n" );
+       fprintf( stderr, "\t     [-F configfile] [-U uams] [-m umask]\n" );
        fprintf( stderr, "\t%s -h|-v|-V\n", name );
 }