1 .\" $Id: AppleVolumes.default.5.tmpl,v 1.2.14.1 2003-11-30 22:07:36 rlewczuk Exp $
2 .TH AppleVolumes.default 5 "20 September 2000" "netatalk 1.5"
5 AppleVolumes.default \- Configuration file used by \fBafpd\fR(8)
6 to determine the shares made available through Appletalk
9 \fB:ETCDIR:/AppleVolumes.default\fR is the configuration file used
10 by afpd to determine what portions of the file system will be shared via
11 Appletalk, as well as their behaviors.
13 Any line not prefixed with \fB#\fR is interpreted. The configuration lines
27 The path name must be a fully qualified path name, or a path name using
28 either the \fB~\fR shell shorthand or any of the substitution variables,
29 which are listed below.
31 The chooser name is the name that appears in the Chooser on Macintoshes
32 to represent the appropriate share. If there are spaces in the name, it
33 should be in quotes (i.e. \fB"File Share"\fR). The chooser name may not
34 exceed 27 characters in length, and cannot contain the \fB:\fR character.
36 The possible options and their meanings are:
39 .B allow:[users/groups]
40 The allow option allows the users and groups that access a share to
41 be specified. Users and groups are specified, delimited by commas. Groups
42 are designated by a \fB@\fR prefix.
44 \fIExample:\fR \fBallow:user1,user2,@group\fR
48 The casefold option handles how casenames should be mangled. The available
51 \fBtolower\fR - Lowercases names in both directions.
53 \fBtoupper\fR - Uppercases names in both directions.
55 \fBxlatelower\fR - Client sees lowercase, server sees uppercase.
57 \fBxlateupper\fR - Client sees uppercase, server sees lowercase.
60 .B cnidscheme:[scheme]
61 Set the CNID database backend for the volume, default is [:DEFAULT_CNID_SCHEME:],
62 available backends are [:COMPLETED_BACKENDS:].
65 .B codepage:[nls file]
66 The codepage option loads a specific codepage from the nls directory.
70 Sets the database information to be stored in \fBpath\fR.
73 .B deny:[users/groups]
74 The deny option specifies users and groups who are not allowed access
75 to the share. It follows the same format as the \fBallow\fR option.
79 This allows multiple options to be specified in a comma delimited format.
80 The available options are:
82 \fBcrlf\fR - Enables crlf translation for TEXT files.
84 \fBdropbox\fR - Allows a volume to be declared as being a "dropbox." Note
85 that netatalk must be compiled with dropkludge support for this to
88 \fBlimitsize\fR - Hack for older Macintoshes using newer Appleshare
89 clients to limit the disk size reporting to 2 GB.
91 \fBmswindows\fR - Forces filename restrictions imposed by MS WinXX, and
92 invokes the MS default codepage (iso8859-1) if one is not already
95 \fBnoadouble\fR - Forces afpd to not create .AppleDouble unless a resource
96 fork needs to be created.
98 \fBnofileid\fR - Don't advertise createfileid, resolveid and deleteid calls.
100 \fBnohex\fR - Disables :hex translations for anything except dot files.
101 This option makes the \fB/\fR character illegal.
103 \fBnostat\fR - Don't stat volume path when enumerating volumes list.
105 \fBpreexec_close\fR - A non-zero return code from preexec close
106 the volume being mounted.
108 \fBprodos\fR - Provides compatibility with Apple II clients.
110 \fBro\fR - Specifies the share as being read only for all users.
112 \fBroot_preexec_close\fR - A non-zero return code from root_preexec close
113 the volume being mounted.
115 \fBusedots\fR - Don't do :hex translation for dot files. This makes all
116 files such as .Parent, .Apple* illegal. Dot files created on the server
117 side will be invisible to the client.
119 \fBupriv\fR - Use UNIX privilege (AFP3x).
122 .B password:[password]
123 This option allows you to set a volume password, which can be a maximum
124 of 8 characters long.
127 .B postexec:[command]
128 Command to be run when the volume is closed, ignore for user defined volumes.
132 Command to be run when the volume is mounted, ignore for user defined volumes.
135 .B rolist:[users/groups]
136 Allows certain users and groups to have read-only access to a share.
137 This follows the \fBallow\fR option format.
140 .B root_postexec:[command]
141 Command to be run as root when the volume is closed, ignore for user defined volumes.
144 .B root_preexec:[command]
145 Command to be run as root when the volume is opened, ignore for user defined volumes.
148 .B rwlist:[users/groups]
149 Allows certain users and groups to have read/write access to a share.
150 This follows the \fBallow\fR option format.
153 The variables which can be used for subsitutions are:
161 client's ip or appletalk address
165 volume pathname on server
169 full name (contents of the gecos field in the passwd file)
181 client IP without tcp port or appletalk network
185 server name (this can be the hostname)
189 user name (if guest, it is the user that guest is running as)
193 volume name (either ADEID_NAME or basename of path)
197 appletalk zone (may not exist)
201 prints dollar sign (\fb$\fR)