]> arthur.barton.de Git - netatalk.git/blob - man/man5/afp.conf.5.tmpl
Merge remote-tracking branch 'origin/develop' into spotlight
[netatalk.git] / man / man5 / afp.conf.5.tmpl
1 '\" t
2 .\"     Title: afp.conf
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 06 Dez 2012
6 .\"    Manual: Netatalk 3.0
7 .\"    Source: Netatalk 3.0
8 .\"  Language: English
9 .\"
10 .TH "AFP\&.CONF" "5" "06 Dez 2012" "Netatalk 3.0" "Netatalk 3.0"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAME"
22 afp.conf \- Netatalk configuration file
23 .SH "SYNOPSIS"
24 .PP
25 The
26 afp\&.conf
27 file is the configuration file for the
28 \fBNetatalk\fR
29 AFP file server\&.
30 .PP
31 All AFP specific configuration and AFP volume definitions are done via this file\&.
32 .SH "FILE FORMAT"
33 .PP
34 The file consists of sections and parameters\&. A section begins with the name of the section in square brackets and continues until the next section begins\&. Sections contain parameters of the form:
35 .sp
36 .if n \{\
37 .RS 4
38 .\}
39 .nf
40     \fIname\fR = \fIvalue \fR
41     
42 .fi
43 .if n \{\
44 .RE
45 .\}
46 .PP
47 The file is line\-based \- that is, each newline\-terminated line represents either a comment, a section name or a parameter\&.
48 .PP
49 Section and parameter names are case sensitive\&.
50 .PP
51 Only the first equals sign in a parameter is significant\&. Whitespace before or after the first equals sign is discarded\&. Leading, trailing and internal whitespace in section and parameter names is irrelevant\&. Leading and trailing whitespace in a parameter value is discarded\&. Internal whitespace within a parameter value is retained verbatim\&.
52 .PP
53 Any line beginning with a semicolon (\(lq;\(rq) or a hash (\(lq#\(rq) character is ignored, as are lines containing only whitespace\&.
54 .PP
55 Any line ending in a
56 \(lq \e \(rq
57 is continued on the next line in the customary UNIX fashion\&.
58 .PP
59 The values following the equals sign in parameters are all either a string (no quotes needed) or a boolean, which may be given as yes/no, 1/0 or true/false\&. Case is not significant in boolean values, but is preserved in string values\&. Some items such as create masks are numeric\&.
60 .PP
61 The parameter
62 \fBinclude = \fR\fB\fIpath\fR\fR
63 allows you to include one config file inside another\&. The file is included literally, as though typed in place\&. Nested includes are not supported\&.
64 .SH "SECTION DESCRIPTIONS"
65 .PP
66 Each section in the configuration file (except for the [Global] section) describes a shared resource (known as a
67 \(lqvolume\(rq)\&. The section name is the name of the volume and the parameters within the section define the volume attributes and options\&.
68 .PP
69 There are two special sections, [Global] and [Homes], which are described under
70 \fIspecial sections\fR\&. The following notes apply to ordinary section descriptions\&.
71 .PP
72 A volume consists of a directory to which access is being given plus a description of the access rights which are granted to the user of the service\&. For volumes the
73 \fBpath\fR
74 option must specify the directory to share\&.
75 .PP
76 Any volume section without
77 \fBpath\fR
78 option is considered a
79 \fIvol preset\fR
80 which can be selected in other volume sections via the
81 \fBvol preset\fR
82 option and constitutes defaults for the volume\&. For any option speficied both in a preset
83 \fIand\fR
84 in a volume section the volume section setting completly substitutes the preset option\&.
85 .PP
86 The access rights granted by the server are masked by the access rights granted to the specified or guest UNIX user by the host system\&. The server does not grant more access than the host system grants\&.
87 .PP
88 The following sample section defines an AFP volume\&. The user has full access to the path
89 /foo/bar\&. The share is accessed via the share name
90 baz:
91 .sp
92 .if n \{\
93 .RS 4
94 .\}
95 .nf
96  [baz]
97     path = /foo/bar 
98 .fi
99 .if n \{\
100 .RE
101 .\}
102 .SH "SPECIAL SECTIONS"
103 .SS "The [Global] section"
104 .PP
105 Parameters in this section apply to the server as a whole\&. Parameters denoted by a (G) below are must be set in this section\&.
106 .SS "The [Homes] section"
107 .PP
108 This section enable sharing of the UNIX server user home directories\&. Specifying an optional
109 \fBpath\fR
110 parameter means that not the whole user home will be shared but the subdirectory
111 \fBpath\fR\&. It is neccessary to define the
112 \fBbasedir regex\fR
113 option\&. It should be a regex which matches the parent directory of the user homes\&. Parameters denoted by a (H) belong to volume sections\&. The optional parameter
114 \fBhome name\fR
115 can be used to change the AFP volume name which
116 \fI$u\'s home\fR
117 by default\&. See below under VARIABLE SUBSTITUTIONS\&.
118 .PP
119 The following example illustrates this\&. Given all user home directories are stored under
120 /home:
121 .sp
122 .if n \{\
123 .RS 4
124 .\}
125 .nf
126  [Homes] path = afp\-data basedir regex = /home
127       
128 .fi
129 .if n \{\
130 .RE
131 .\}
132 .sp
133 For a user
134 \fIjohn\fR
135 this results in an AFP home volume with a path of
136 /home/john/afp\-data\&.
137 .SH "PARAMETERS"
138 .PP
139 Parameters define the specific attributes of sections\&.
140 .PP
141 Some parameters are specific to the [Global] section (e\&.g\&.,
142 \fIlog type\fR)\&. All others are permissible only in volume sections\&. The letter
143 \fIG\fR
144 in parentheses indicates that a parameter is specific to the [Global] section\&. The letter
145 \fIV\fR
146 indicates that a parameter can be specified in a volume specific section\&.
147 .SH "VARIABLE SUBSTITUTIONS"
148 .PP
149 You can use variables in volume names\&. The use of variables in paths is not supported for now\&.
150 .sp
151 .RS 4
152 .ie n \{\
153 \h'-04' 1.\h'+01'\c
154 .\}
155 .el \{\
156 .sp -1
157 .IP "  1." 4.2
158 .\}
159 if you specify an unknown variable, it will not get converted\&.
160 .RE
161 .sp
162 .RS 4
163 .ie n \{\
164 \h'-04' 2.\h'+01'\c
165 .\}
166 .el \{\
167 .sp -1
168 .IP "  2." 4.2
169 .\}
170 if you specify a known variable, but that variable doesn\'t have a value, it will get ignored\&.
171 .RE
172 .PP
173 The variables which can be used for substitutions are:
174 .PP
175 $b
176 .RS 4
177 basename
178 .RE
179 .PP
180 $c
181 .RS 4
182 client\'s ip address
183 .RE
184 .PP
185 $d
186 .RS 4
187 volume pathname on server
188 .RE
189 .PP
190 $f
191 .RS 4
192 full name (contents of the gecos field in the passwd file)
193 .RE
194 .PP
195 $g
196 .RS 4
197 group name
198 .RE
199 .PP
200 $h
201 .RS 4
202 hostname
203 .RE
204 .PP
205 $i
206 .RS 4
207 client\'s ip, without port
208 .RE
209 .PP
210 $s
211 .RS 4
212 server name (this can be the hostname)
213 .RE
214 .PP
215 $u
216 .RS 4
217 user name (if guest, it is the user that guest is running as)
218 .RE
219 .PP
220 $v
221 .RS 4
222 volume name
223 .RE
224 .PP
225 $$
226 .RS 4
227 prints dollar sign ($)
228 .RE
229 .SH "EXPLANATION OF GLOBAL PARAMETERS"
230 .SS "Authentication Options"
231 .PP
232 ad domain = \fIDOMAIN\fR \fB(G)\fR
233 .RS 4
234 Append @DOMAIN to username when authenticating\&. Useful in Active Directory environments that otherwise would require the user to enter the full user@domain string\&.
235 .RE
236 .PP
237 admin auth user = \fIuser\fR \fB(G)\fR
238 .RS 4
239 Specifying eg "\fBadmin auth user = root\fR" whenever a normal user login fails, afpd will try to authenticate as the specified
240 \fBadmin auth user\fR\&. If this succeeds, a normal session is created for the original connecting user\&. Said differently: if you know the password of
241 \fBadmin auth user\fR, you can authenticate as any other user\&.
242 .RE
243 .PP
244 k5 keytab = \fIpath\fR \fB(G)\fR, k5 service = \fIservice\fR \fB(G)\fR, k5 realm = \fIrealm\fR \fB(G)\fR
245 .RS 4
246 These are required if the server supports the Kerberos 5 authentication UAM\&.
247 .RE
248 .PP
249 nt domain = \fIDOMAIN\fR \fB(G)\fR, nt separator = \fISEPERATOR\fR \fB(G)\fR
250 .RS 4
251 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\&.
252 .RE
253 .PP
254 save password = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
255 .RS 4
256 Enables or disables the ability of clients to save passwords locally\&.
257 .RE
258 .PP
259 set password = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
260 .RS 4
261 Enables or disables the ability of clients to change their passwords via chooser or the "connect to server" dialog\&.
262 .RE
263 .PP
264 uam list = \fIuam list\fR \fB(G)\fR
265 .RS 4
266 Space or comma separated list of UAMs\&. (The default is "uams_dhx\&.so uams_dhx2\&.so")\&.
267 .sp
268 The most commonly used UAMs are:
269 .PP
270 uams_guest\&.so
271 .RS 4
272 allows guest logins
273 .RE
274 .PP
275 uams_clrtxt\&.so
276 .RS 4
277 (uams_pam\&.so or uams_passwd\&.so) Allow logins with passwords transmitted in the clear\&. (legacy)
278 .RE
279 .PP
280 uams_randum\&.so
281 .RS 4
282 allows Random Number and Two\-Way Random Number Exchange for authentication (requires a separate file containing the passwords, either :ETCDIR:/afppasswd file or the one specified via "\fBpasswd file\fR"\&. See
283 \fBafppasswd\fR(1)
284 for details\&. (legacy)
285 .RE
286 .PP
287 uams_dhx\&.so
288 .RS 4
289 (uams_dhx_pam\&.so or uams_dhx_passwd\&.so) Allow Diffie\-Hellman eXchange (DHX) for authentication\&.
290 .RE
291 .PP
292 uams_dhx2\&.so
293 .RS 4
294 (uams_dhx2_pam\&.so or uams_dhx2_passwd\&.so) Allow Diffie\-Hellman eXchange 2 (DHX2) for authentication\&.
295 .RE
296 .PP
297 uam_gss\&.so
298 .RS 4
299 Allow Kerberos V for authentication (optional)
300 .RE
301 .RE
302 .PP
303 uam path = \fIpath\fR \fB(G)\fR
304 .RS 4
305 Sets the default path for UAMs for this server (default is :LIBDIR:/netatalk)\&.
306 .RE
307 .SS "Charset Options"
308 .PP
309 With OS X Apple introduced the AFP3 protocol\&. One of the big changes was, that AFP3 uses Unicode names encoded as Decomposed UTF\-8 (UTF8\-MAC)\&. Previous AFP/OS versions used charsets like MacRoman, MacCentralEurope, etc\&.
310 .PP
311 To be able to serve AFP3 and older clients at the same time,
312 \fBafpd\fR
313 needs to be able to convert between UTF\-8 and Mac charsets\&. Even OS X clients partly still rely on the mac charset\&. As there\'s no way,
314 \fBafpd\fR
315 can detect the codepage a pre AFP3 client uses, you have to specify it using the
316 \fBmac charset\fR
317 option\&. The default is MacRoman, which should be fine for most western users\&.
318 .PP
319 As
320 \fBafpd\fR
321 needs to interact with UNIX operating system as well, it need\'s to be able to convert from UTF8\-MAC / Mac charset to the UNIX charset\&. By default
322 \fBafpd\fR
323 uses
324 \fIUTF8\fR\&. You can set the UNIX charset using the
325 \fBunix charset\fR
326 option\&. If you\'re using extended characters in the configuration files for
327 \fBafpd\fR, make sure your terminal matches the
328 \fBunix charset\fR\&.
329 .PP
330 mac charset = \fICHARSET\fR \fB(G)/(V)\fR
331 .RS 4
332 Specifies the Mac clients charset, e\&.g\&.
333 \fIMAC_ROMAN\fR\&. This is used to convert strings and filenames to the clients codepage for OS9 and Classic, i\&.e\&. for authentication and AFP messages (SIGUSR2 messaging)\&. This will also be the default for the volumes
334 \fBmac charset\fR\&. Defaults to
335 \fIMAC_ROMAN\fR\&.
336 .RE
337 .PP
338 unix charset = \fICHARSET\fR \fB(G)\fR
339 .RS 4
340 Specifies the servers unix charset, e\&.g\&.
341 \fIISO\-8859\-15\fR
342 or
343 \fIEUC\-JP\fR\&. This is used to convert strings to/from the systems locale, e\&.g\&. for authenthication, server messages and volume names\&. If
344 \fILOCALE\fR
345 is set, the systems locale is used\&. Defaults to
346 \fIUTF8\fR\&.
347 .RE
348 .PP
349 vol charset = \fICHARSET\fR \fB(G)/(V)\fR
350 .RS 4
351 Specifies the encoding of the volumes filesystem\&. By default, it is the same as
352 \fBunix charset\fR\&.
353 .RE
354 .SS "Password Options"
355 .PP
356 passwd file = \fIpath\fR \fB(G)\fR
357 .RS 4
358 Sets the path to the Randnum UAM passwd file for this server (default is :ETCDIR:/afppasswd)\&.
359 .RE
360 .PP
361 passwd minlen = \fInumber\fR \fB(G)\fR
362 .RS 4
363 Sets the minimum password length, if supported by the UAM
364 .RE
365 .SS "Network Options"
366 .PP
367 advertise ssh = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
368 .RS 4
369 Allows old Mac OS X clients (10\&.3\&.3\-10\&.4) to automagically establish a tunneled AFP connection through SSH\&. If this option is set, the server\'s answers to client\'s FPGetSrvrInfo requests contain an additional entry\&. It depends on both client\'s settings and a correctly configured and running
370 \fBsshd\fR(8)
371 on the server to let things work\&.
372 .if n \{\
373 .sp
374 .\}
375 .RS 4
376 .it 1 an-trap
377 .nr an-no-space-flag 1
378 .nr an-break-flag 1
379 .br
380 .ps +1
381 \fBNote\fR
382 .ps -1
383 .br
384 Setting this option is not recommended since globally encrypting AFP connections via SSH will increase the server\'s load significantly\&. On the other hand, Apple\'s client side implementation of this feature in MacOS X versions prior to 10\&.3\&.4 contained a security flaw\&.
385 .sp .5v
386 .RE
387 .RE
388 .PP
389 afp listen = \fIip address[:port] [ip adress[:port] \&.\&.\&.]\fR \fB(G)\fR
390 .RS 4
391 Specifies the IP address that the server should advertise
392 \fBand\fR
393 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\&.
394 .RE
395 .PP
396 afp port = \fIport number\fR \fB(G)\fR
397 .RS 4
398 Allows a different TCP port to be used for AFP\&. The default is 548\&. Also sets the default port applied when none specified in an
399 \fBafp listen\fR
400 option\&.
401 .RE
402 .PP
403 cnid listen = \fIip address[:port] [ip adress[:port] \&.\&.\&.]\fR \fB(G)\fR
404 .RS 4
405 Specifies the IP address that the CNID server should listen on\&. The default is
406 \fBlocalhost:4700\fR\&.
407 .RE
408 .PP
409 disconnect time = \fInumber\fR \fB(G)\fR
410 .RS 4
411 Keep disconnected AFP sessions for
412 \fInumber\fR
413 hours before dropping them\&. Default is 24 hours\&.
414 .RE
415 .PP
416 dsireadbuf = \fInumber\fR \fB(G)\fR
417 .RS 4
418 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\&.
419 \fINote\fR: This buffer is allocated per afpd child process, so specifying large values will eat up large amount of memory (buffer size * number of clients)\&.
420 .RE
421 .PP
422 fqdn = \fIname:port\fR \fB(G)\fR
423 .RS 4
424 Specifies a fully\-qualified domain name, with an optional port\&. This is discarded if the server cannot resolve it\&. This option is not honored by AppleShare clients <= 3\&.8\&.3\&. This option is disabled by default\&. Use with caution as this will involve a second name resolution step on the client side\&. Also note that afpd will advertise this name:port combination but not automatically listen to it\&.
425 .RE
426 .PP
427 hostname = \fIname\fR \fB(G)\fR
428 .RS 4
429 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
430 \fBafp listen\fR\&.
431 .RE
432 .PP
433 max connections = \fInumber\fR \fB(G)\fR
434 .RS 4
435 Sets the maximum number of clients that can simultaneously connect to the server (default is 200)\&.
436 .RE
437 .PP
438 server quantum = \fInumber\fR \fB(G)\fR
439 .RS 4
440 This specifies the DSI server quantum\&. The default value is 303840\&. The maximum value is 0xFFFFFFFFF, the minimum is 32000\&. If you specify a value that is out of range, the default value will be set\&. Do not change this value unless you\'re absolutely sure, what you\'re doing
441 .RE
442 .PP
443 sleep time = \fInumber\fR \fB(G)\fR
444 .RS 4
445 Keep sleeping AFP sessions for
446 \fInumber\fR
447 hours before disconnecting clients in sleep mode\&. Default is 10 hours\&.
448 .RE
449 .PP
450 tcprcvbuf = \fInumber\fR \fB(G)\fR
451 .RS 4
452 Try to set TCP receive buffer using setsockpt()\&. Often OSes impose restrictions on the applications ability to set this value\&.
453 .RE
454 .PP
455 tcpsndbuf = \fInumber\fR \fB(G)\fR
456 .RS 4
457 Try to set TCP send buffer using setsockpt()\&. Often OSes impose restrictions on the applications ability to set this value\&.
458 .RE
459 .PP
460 use sendfile = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
461 .RS 4
462 Whether to use sendfile
463 syscall for sending file data to clients\&.
464 .RE
465 .PP
466 zeroconf = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
467 .RS 4
468 Whether to use automatic Zeroconf
469 service registration if Avahi or mDNSResponder were compiled in\&.
470 .RE
471 .SS "Miscellaneous Options"
472 .PP
473 admin group = \fIgroup\fR \fB(G)\fR
474 .RS 4
475 Allows users of a certain group to be seen as the superuser when they log in\&. This option is disabled by default\&.
476 .RE
477 .PP
478 afp read locks = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
479 .RS 4
480 Whether to apply locks to the byte region read in FPRead calls\&. The AFP spec mandates this, but it\'s not really in line with UNIX semantics and is a performance hug\&.
481 .RE
482 .PP
483 basedir regex = \fIregex\fR \fB(H)\fR
484 .RS 4
485 Regular expression which matches the parent directory of the user homes\&. In the simple case this is just a path ie
486 \fBbasedir regex = /home\fR
487 .RE
488 .PP
489 close vol = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
490 .RS 4
491 Whether to close volumes possibly opened by clients when they\'re removed from the configuration and the configuration is reloaded\&.
492 .RE
493 .PP
494 cnid server = \fIipaddress[:port]\fR \fB(G)/(V)\fR
495 .RS 4
496 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\&.\-
497 .RE
498 .PP
499 dircachesize = \fInumber\fR \fB(G)\fR
500 .RS 4
501 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\&.
502 .sp
503 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\&.
504 .RE
505 .PP
506 extmap file = \fIpath\fR \fB(G)\fR
507 .RS 4
508 Sets the path to the file which defines file extension type/creator mappings\&. (default is :ETCDIR:/AppleVolumes\&.system)\&.
509 .RE
510 .PP
511 guest account = \fIname\fR \fB(G)\fR
512 .RS 4
513 Specifies the user that guests should use (default is "nobody")\&. The name should be quoted\&.
514 .RE
515 .PP
516 home name = \fIname\fR \fB(H)\fR
517 .RS 4
518 AFP user home volume name\&. The default is
519 \fIusers\'s home\fR\&.
520 .RE
521 .PP
522 keep sessions = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
523 .RS 4
524 Enable "Continuous AFP Service"\&. This means restarting AFP and CNID service daemons master processes, but keeping the AFP session processes\&. This can be used to install (most) updates to Netatalk without interruping active AFP sessions\&. Existing AFP sessions will still run the version from before updating, but new AFP sessions will run the updated code\&. After enabling this option when sending SIGQUIT to the
525 \fInetatalk\fR
526 service controller process, the AFP and CNID daemons will exit and then the service controller will restart them\&. AFP session processes are notified of the master afpd shutdown, they will then sleep 15\-20 seconds and then try to reconnect their IPC channel to the master afpd process\&. The IPC channel between the AFP master service daemon and the AFP session child is used for keeping session state of AFP sessions in the AFP master process\&. The session state is needed when AFP clients experience eg network outages and try to reconnect to the AFP server\&.
527 .RE
528 .PP
529 login message = \fImessage\fR \fB(G)/(V)\fR
530 .RS 4
531 Sets a message to be displayed when clients logon to the server\&. The message should be in
532 \fBunix charset\fR
533 and should be quoted\&. Extended characters are allowed\&.
534 .RE
535 .PP
536 map acls = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
537 .RS 4
538 Whether to map filesystem ACLs to effective permissions\&.
539 .RE
540 .PP
541 mimic model = \fImodel\fR \fB(G)\fR
542 .RS 4
543 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\&.
544 .RE
545 .PP
546 signature = <text> \fB(G)\fR
547 .RS 4
548 Specify a server signature\&. The maximum length is 16 characters\&. This option is useful for clustered environments, to provide fault isolation etc\&. By default, afpd generate signature and saving it to
549 :STATEDIR:/netatalk/afp_signature\&.conf
550 automatically (based on random number)\&. See also asip\-status\&.pl(1)\&.
551 .RE
552 .PP
553 solaris share reservations = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
554 .RS 4
555 Use share reservations on Solaris\&. Solaris CIFS server uses this too, so this makes a lock coherent multi protocol server\&.
556 .RE
557 .PP
558 vol dbpath = \fIpath\fR \fB(G)\fR
559 .RS 4
560 Sets the database information to be stored in path\&. You have to specifiy a writable location, even if the volume is read only\&. The default is
561 :STATEDIR:/netatalk/CNID/\&.
562 .RE
563 .PP
564 volnamelen = \fInumber\fR \fB(G)\fR
565 .RS 4
566 Max length of UTF8\-MAC volume name for Mac OS X\&. Note that Hangul is especially sensitive to this\&.
567 .sp
568 .if n \{\
569 .RS 4
570 .\}
571 .nf
572  73: limit of Mac OS X 10\&.1 80: limit of Mac
573             OS X 10\&.4/10\&.5 (default) 255: limit of recent Mac OS
574             X
575 .fi
576 .if n \{\
577 .RE
578 .\}
579 .sp
580 Mac OS 9 and earlier are not influenced by this, because Maccharset volume name is always limitted to 27 bytes\&.
581 .RE
582 .PP
583 vol preset = \fIname\fR \fB(G)/(V)\fR
584 .RS 4
585 Use section
586 \fBname\fR
587 as option preset for all volumes (when set in the [Global] section) or for one volume (when set in that volume\'s section)\&.
588 .RE
589 .SS "Logging Options"
590 .PP
591 log file = \fIlogfile\fR \fB(G)\fR
592 .RS 4
593 If not specified Netatalk logs to syslogs daemon facilify\&. Otherwise it logs to
594 \fBlogfile\fR\&.
595 .RE
596 .PP
597 log level = \fItype:level [type:level \&.\&.\&.]\fR \fB(G)\fR, log level = \fItype:level,[type:level, \&.\&.\&.]\fR \fB(G)\fR
598 .RS 4
599 Specify that any message of a loglevel up to the given
600 \fBlog level\fR
601 should be logged\&.
602 .sp
603 By default afpd logs to syslog with a default logging setup equivalent to
604 \fBdefault:note\fR
605 .sp
606 logtypes: default, afpdaemon, logger, uamsdaemon
607 .sp
608 loglevels: severe, error, warn, note, info, debug, debug6, debug7, debug8, debug9, maxdebug
609 .if n \{\
610 .sp
611 .\}
612 .RS 4
613 .it 1 an-trap
614 .nr an-no-space-flag 1
615 .nr an-break-flag 1
616 .br
617 .ps +1
618 \fBNote\fR
619 .ps -1
620 .br
621 Both logtype and loglevels are case insensitive\&.
622 .sp .5v
623 .RE
624 .RE
625 .SS "Filesystem Change Events (FCE)"
626 .PP
627 Netatalk includes a nifty filesystem change event mechanism where afpd processes notfiy interested listeners about certain filesytem event by UDP network datagrams\&.
628 .PP
629 fce listener = \fIhost[:port]\fR \fB(G)\fR
630 .RS 4
631 Enables sending FCE events to the specified
632 \fIhost\fR, default
633 \fIport\fR
634 is 12250 if not specified\&. Specifying mutliple listeners is done by having this option once for each of them\&.
635 .RE
636 .PP
637 fce events = \fIfmod,fdel,ddel,fcre,dcre,tmsz\fR \fB(G)\fR
638 .RS 4
639 Speficies which FCE events are active, default is
640 \fIfmod,fdel,ddel,fcre,dcre\fR\&.
641 .RE
642 .PP
643 fce coalesce = \fIall|delete|create\fR \fB(G)\fR
644 .RS 4
645 Coalesce FCE events\&.
646 .RE
647 .PP
648 fce holdfmod = \fIseconds\fR \fB(G)\fR
649 .RS 4
650 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\&.
651 .RE
652 .SS "Debug Parameters"
653 .PP
654 These options are useful for debugging only\&.
655 .PP
656 tickleval = \fInumber\fR \fB(G)\fR
657 .RS 4
658 Sets the tickle timeout interval (in seconds)\&. Defaults to 30\&.
659 .RE
660 .PP
661 timeout = \fInumber\fR \fB(G)\fR
662 .RS 4
663 Specify the number of tickles to send before timing out a connection\&. The default is 4, therefore a connection will timeout after 2 minutes\&.
664 .RE
665 .PP
666 client polling = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
667 .RS 4
668 With this option enabled, afpd won\'t advertise that it is capable of server notifications, so that connected clients poll the server every 10 seconds to detect changes in opened server windows\&.
669 \fINote\fR: Depending on the number of simultaneously connected clients and the network\'s speed, this can lead to a significant higher load on your network!
670 .sp
671 Do not use this option any longer as present Netatalk correctly supports server notifications, allowing connected clients to update folder listings in case another client changed the contents\&.
672 .RE
673 .SS "Options for ACL handling"
674 .PP
675 For a basic mode of operation there\'s nothing to configure\&. afpd reads ACLs on the fly, calculating effective permissions and returning the calculated permissions via the so called UARights permission bits\&. On a Mac the Finder uses these bits to adjust permission in Finder windows\&. For example folder whos UNIX mode would only result in in read\-only permissions for a user will not be displayed with a read\-only icon and the user will be able to write to the folder given the folder has an ACL giving the user write access\&.
676 .PP
677 However, neither in Finder "Get Info" windows nor in Terminal will you be able to see the ACLs, that\'s a result of how ACLs in OS X are designed\&. If you want to be able to display ACLs on the client, things get more involed as you must then setup both client and server to be part on a authentication domain (directory service, eg LDAP, OpenDirectory)\&. The reason is, that in OS X ACLs are bound to UUIDs, not just uid\'s or gid\'s\&. Therefor afpd must be able to map every filesystem uid and gid to a UUID so that it can return the server side ACLs which are bound to UNIX uid and gid mapped to OS X UUIDs\&. Get it? Read on\&.
678 .PP
679 Netatalk can query a directory server using LDAP queries\&. Either the directory server already provides an UUID attribute for user and groups (Active Directory, Open Directory) or you reuse an unused attribute (or add a new one) to you directory server (eg OpenLDAP)\&.
680 .PP
681 The following LDAP options must be configured for Netatalk:
682 .PP
683 ldap auth method = \fInone|simple|sasl\fR \fB(G)\fR
684 .RS 4
685 Authentication method:
686 \fBnone | simple | sasl\fR
687 .PP
688 none
689 .RS 4
690 anonymous LDAP bind
691 .RE
692 .PP
693 simple
694 .RS 4
695 simple LDAP bind
696 .RE
697 .PP
698 sasl
699 .RS 4
700 SASL\&. Not yet supported !
701 .RE
702 .RE
703 .PP
704 ldap auth dn = \fIdn\fR \fB(G)\fR
705 .RS 4
706 Distinguished Name of the user for simple bind\&.
707 .RE
708 .PP
709 ldap auth pw = \fIpassword\fR \fB(G)\fR
710 .RS 4
711 Distinguished Name of the user for simple bind\&.
712 .RE
713 .PP
714 ldap server = \fIhost\fR \fB(G)\fR
715 .RS 4
716 Name or IP address of your LDAP Server\&. This is only needed for explicit ACL support in order to be able to query LDAP for UUIDs\&.
717 .sp
718 You can use
719 \fBafpldaptest\fR(1)
720 to syntactically check your config\&.
721 .RE
722 .PP
723 ldap userbase = \fIbase dn\fR \fB(G)\fR
724 .RS 4
725 DN of the user container in LDAP\&.
726 .RE
727 .PP
728 ldap userscope = \fIscope\fR \fB(G)\fR
729 .RS 4
730 Search scope for user search:
731 \fBbase | one | sub\fR
732 .RE
733 .PP
734 ldap groupbase = \fIbase dn\fR \fB(G)\fR
735 .RS 4
736 DN of the group container in LDAP\&.
737 .RE
738 .PP
739 ldap groupscope = \fIscope\fR \fB(G)\fR
740 .RS 4
741 Search scope for user search:
742 \fBbase | one | sub\fR
743 .RE
744 .PP
745 ldap uuid attr = \fIdn\fR \fB(G)\fR
746 .RS 4
747 Name of the LDAP attribute with the UUIDs\&.
748 .sp
749 Note: this is used both for users and groups\&.
750 .RE
751 .PP
752 ldap name attr = \fIdn\fR \fB(G)\fR
753 .RS 4
754 Name of the LDAP attribute with the users short name\&.
755 .RE
756 .PP
757 ldap uuid string = \fISTRING\fR \fB(G)\fR
758 .RS 4
759 Format of the uuid string in the directory\&. A series of x and \-, where every x denotes a value 0\-9a\-f and every \- is a seperator\&.
760 .sp
761 Default: xxxxxxxx\-xxxx\-xxxx\-xxxx\-xxxxxxxxxxxx
762 .RE
763 .PP
764 ldap uuid encoding = \fIstring | ms\-guid (default: string)\fR \fB(G)\fR
765 .RS 4
766 Format of the UUID of the LDAP attribute, allows usage of the binary objectGUID fields from Active Directory\&. If left unspecified, string is the default, which passes through the ASCII UUID returned by most other LDAP stores\&. If set to ms\-guid, the internal UUID representation is converted to and from the binary format used in the objectGUID attribute found on objects in Active Directory when interacting with the server\&.
767 .PP
768 string
769 .RS 4
770 UUID is a string, use with eg OpenDirectory\&.
771 .RE
772 .PP
773 ms\-guid
774 .RS 4
775 Binary objectGUID from Active Directory
776 .RE
777 .RE
778 .PP
779 ldap group attr = \fIdn\fR \fB(G)\fR
780 .RS 4
781 Name of the LDAP attribute with the groups short name\&.
782 .RE
783 .SH "EXPLANATION OF VOLUME PARAMETERS"
784 .SS "Parameters"
785 .PP
786 The section name defines the volume name which is the name that appears in the Chooser or the "connect to server" dialog on Macintoshes to represent the appropriate share\&. No two volumes may have the same name\&. The volume name cannot contain the
787 \':\'
788 character\&. The volume name is mangled if it is very long\&. Mac charset volume name is limited to 27 characters\&. UTF8\-MAC volume name is limited to volnamelen parameter\&.
789 .PP
790 path = \fIPATH\fR \fB(V)\fR
791 .RS 4
792 The path name must be a fully qualified path name, or a path name using either the ~ shell shorthand or any of the substitution variables, which are listed below\&.
793 .sp
794 The volume name is the name that appears in the Chooser ot the "connect to server" dialog on Macintoshes to represent the appropriate share\&. If volumename is unspecified, the last component of pathname is used\&. No two volumes may have the same name\&. If there are spaces in the name, it should be in quotes (i\&.e\&. "File Share")\&. The volume name cannot contain the
795 \':\'
796 character\&. The volume name is mangled if it is very long\&. Mac charset volume name is limited to 27 characters\&. UTF8\-MAC volume name is limited to volnamelen parameter\&.
797 .RE
798 .PP
799 appledouble = \fIea|v2\fR \fB(V)\fR
800 .RS 4
801 Specify the format of the metadata files, which are used for saving Mac resource fork as well\&. Earlier versions used AppleDouble v2, the new default format is
802 \fBea\fR\&.
803 .RE
804 .PP
805 vol size limit = \fIsize in MiB\fR \fB(V)\fR
806 .RS 4
807 Useful for Time Machine: limits the reported volume size, thus preventing Time Machine from using the whole real disk space for backup\&. Example: "vol size limit = 1000" would limit the reported disk space to 1 GB\&.
808 \fBIMPORTANT: \fR
809 This is an approimated calculation taking into accout the contents of Time Machine sparsebundle images\&. Therefor you MUST NOT use this volume to store other content when using this option, because it would NOT be accounted\&. The calculation works by reading the band size from the Info\&.plist XML file of the sparsebundle, reading the bands/ directory counting the number of band files, and then multiplying one with the other\&.
810 .RE
811 .PP
812 valid users = \fIuser @group\fR \fB(V)\fR
813 .RS 4
814 The allow option allows the users and groups that access a share to be specified\&. Users and groups are specified, delimited by spaces or commas\&. Groups are designated by a @ prefix\&. Names may be quoted in order to allow for spaces in names\&. Example:
815 .sp
816 .if n \{\
817 .RS 4
818 .\}
819 .nf
820 valid users = user "user 2" @group \(lq@group 2"
821 .fi
822 .if n \{\
823 .RE
824 .\}
825 .RE
826 .PP
827 invalid users = \fIusers/groups\fR \fB(V)\fR
828 .RS 4
829 The deny option specifies users and groups who are not allowed access to the share\&. It follows the same format as the "valid users" option\&.
830 .RE
831 .PP
832 hosts allow = \fIIP host address/IP netmask bits [ \&.\&.\&. ]\fR \fB(V)\fR
833 .RS 4
834 Only listed hosts and networks are allowed, all others are rejected\&. The network address may be specified either in dotted\-decimal format for IPv4 or in hexadecimal format for IPv6\&.
835 .sp
836 Example: hosts allow = 10\&.1\&.0\&.0/16 10\&.2\&.1\&.100 2001:0db8:1234::/48
837 .RE
838 .PP
839 hosts deny = \fIIP host address/IP netmask bits [ \&.\&.\&. ]\fR \fB(V)\fR
840 .RS 4
841 Listed hosts and nets are rejected, all others are allowed\&.
842 .sp
843 Example: hosts deny = 192\&.168\&.100/24 10\&.1\&.1\&.1 2001:db8::1428:57ab
844 .RE
845 .PP
846 cnid scheme = \fIbackend\fR \fB(V)\fR
847 .RS 4
848 set the CNID backend to be used for the volume, default is [:DEFAULT_CNID_SCHEME:] available schemes: [:COMPILED_BACKENDS:]
849 .RE
850 .PP
851 ea = \fInone|auto|sys|ad\fR
852 .RS 4
853 Specify how Extended Attributes
854 are stored\&.
855 \fBauto\fR
856 is the default\&.
857 .PP
858 auto
859 .RS 4
860 Try
861 \fBsys\fR
862 (by setting an EA on the shared directory itself), fallback to
863 \fBad\fR\&. Requires writeable volume for perfoming test\&. "\fBread only = yes\fR" overwrites
864 \fBauto\fR
865 with
866 \fBnone\fR\&. Use explicit "\fBea = sys|ad\fR" for read\-only volumes where appropiate\&.
867 .RE
868 .PP
869 sys
870 .RS 4
871 Use filesystem Extended Attributes\&.
872 .RE
873 .PP
874 ad
875 .RS 4
876 Use files in
877 \fI\&.AppleDouble\fR
878 directories\&.
879 .RE
880 .PP
881 none
882 .RS 4
883 No Extended Attributes support\&.
884 .RE
885 .RE
886 .PP
887 mac charset = \fICHARSET\fR \fB(V)\fR
888 .RS 4
889 specifies the Mac client charset for this Volume, e\&.g\&.
890 \fIMAC_ROMAN\fR,
891 \fIMAC_CYRILLIC\fR\&. If not specified the global setting is applied\&. This setting is only required if you need volumes, where the Mac charset differs from the one globally set in the [Global] section\&.
892 .RE
893 .PP
894 casefold = \fBoption\fR
895 .RS 4
896 The casefold option handles, if the case of filenames should be changed\&. The available options are:
897 .sp
898 \fBtolower\fR
899 \- Lowercases names in both directions\&.
900 .sp
901 \fBtoupper\fR
902 \- Uppercases names in both directions\&.
903 .sp
904 \fBxlatelower\fR
905 \- Client sees lowercase, server sees uppercase\&.
906 .sp
907 \fBxlateupper\fR
908 \- Client sees uppercase, server sees lowercase\&.
909 .RE
910 .PP
911 password = \fIpassword\fR \fB(V)\fR
912 .RS 4
913 This option allows you to set a volume password, which can be a maximum of 8 characters long (using ASCII strongly recommended at the time of this writing)\&.
914 .RE
915 .PP
916 file perm = \fImode\fR \fB(V)\fR, directory perm = \fImode\fR \fB(V)\fR
917 .RS 4
918 Add(or) with the client requested permissions:
919 \fBfile perm\fR
920 is for files only,
921 \fBdirectory perm\fR
922 is for directories only\&. Don\'t use with "\fBunix priv = no\fR"\&.
923 .PP
924 \fBExample.\ \&Volume for a collaborative workgroup\fR
925 .sp
926 .if n \{\
927 .RS 4
928 .\}
929 .nf
930 file perm = 0660 directory perm =
931                 0770
932 .fi
933 .if n \{\
934 .RE
935 .\}
936
937 .RE
938 .PP
939 umask = \fImode\fR \fB(V)\fR
940 .RS 4
941 set perm mask\&. Don\'t use with "\fBunix priv = no\fR"\&.
942 .RE
943 .PP
944 preexec = \fIcommand\fR \fB(V)\fR
945 .RS 4
946 command to be run when the volume is mounted, ignored for user defined volumes
947 .RE
948 .PP
949 postexec = \fIcommand\fR \fB(V)\fR
950 .RS 4
951 command to be run when the volume is closed, ignored for user defined volumes
952 .RE
953 .PP
954 root preexec = \fIcommand\fR \fB(V)\fR
955 .RS 4
956 command to be run as root when the volume is mounted, ignored for user defined volumes
957 .RE
958 .PP
959 root postexec = \fIcommand\fR \fB(V)\fR
960 .RS 4
961 command to be run as root when the volume is closed, ignored for user defined volumes
962 .RE
963 .PP
964 rolist = \fBusers/groups\fR \fB(V)\fR
965 .RS 4
966 Allows certain users and groups to have read\-only access to a share\&. This follows the allow option format\&.
967 .RE
968 .PP
969 rwlist = \fIusers/groups\fR \fB(V)\fR
970 .RS 4
971 Allows certain users and groups to have read/write access to a share\&. This follows the allow option format\&.
972 .RE
973 .PP
974 veto files = \fIvetoed names\fR \fB(V)\fR
975 .RS 4
976 hide files and directories,where the path matches one of the \'/\' delimited vetoed names\&. The veto string must always be terminated with a \'/\', eg\&. "veto1/", "veto1/veto2/"\&.
977 .RE
978 .SS "Volume options"
979 .PP
980 Boolean volume options\&.
981 .PP
982 acls = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
983 .RS 4
984 Whether to flag volumes as supporting ACLs\&. If ACL support is compiled in, this is yes by default\&.
985 .RE
986 .PP
987 cnid dev = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
988 .RS 4
989 Whether to use the device number in the CNID backends\&. Helps when the device number is not constant across a reboot, eg cluster, \&.\&.\&.
990 .RE
991 .PP
992 convert appledouble = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
993 .RS 4
994 Whether automatic conversion from
995 \fBappledouble = v2\fR
996 to
997 \fBappledouble = ea\fR
998 is performed when accessing filesystems from clients\&. This is generally useful, but costs some performance\&. It\'s recommdable to run
999 \fBdbd\fR
1000 on volumes and do the conversion with that\&. Then this option can be set to no\&.
1001 .RE
1002 .PP
1003 invisible dots = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1004 .RS 4
1005 make dot files invisible\&.
1006 .RE
1007 .PP
1008 network ids = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
1009 .RS 4
1010 Whether the server support network ids\&. Setting this to
1011 \fIno\fR
1012 will result in the client not using ACL AFP functions\&.
1013 .RE
1014 .PP
1015 preexec close = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1016 .RS 4
1017 A non\-zero return code from preexec close the volume being immediately, preventing clients to mount/see the volume in question\&.
1018 .RE
1019 .PP
1020 read only = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1021 .RS 4
1022 Specifies the share as being read only for all users\&. Overwrites
1023 \fBea = auto\fR
1024 with
1025 \fBea = none\fR
1026 .RE
1027 .PP
1028 root preexec close= \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1029 .RS 4
1030 A non\-zero return code from root_preexec closes the volume immediately, preventing clients to mount/see the volume in question\&.
1031 .RE
1032 .PP
1033 search db = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1034 .RS 4
1035 Use fast CNID database namesearch instead of slow recursive filesystem search\&. Relies on a consistent CNID database, ie Samba or local filesystem access lead to inaccurate or wrong results\&. Works only for "dbd" CNID db volumes\&.
1036 .RE
1037 .PP
1038 stat vol = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
1039 .RS 4
1040 Whether to stat volume path when enumerating volumes list, useful for automounting or volumes created by a preexec script\&.
1041 .RE
1042 .PP
1043 time machine = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1044 .RS 4
1045 Whether to enable Time Machine suport for this volume\&.
1046 .RE
1047 .PP
1048 unix priv = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
1049 .RS 4
1050 Whether to use AFP3 UNIX privileges\&. This should be set for OS X clients\&. See also:
1051 \fBfile perm\fR,
1052 \fBdirectory perm\fR
1053 and
1054 \fBumask\fR\&.
1055 .RE
1056 .SH "CNID BACKENDS"
1057 .PP
1058 The AFP protocol mostly refers to files and directories by ID and not by name\&. Netatalk needs a way to store these ID\'s in a persistent way, to achieve this several different CNID backends are available\&. The CNID Databases are by default located in the
1059 :STATEDIR:/netatalk/CNID/(volumename)/\&.AppleDB/
1060 directory\&.
1061 .PP
1062 cdb
1063 .RS 4
1064 "Concurrent database", backend is based on Oracle Berkely DB\&. With this backend several
1065 \fBafpd\fR
1066 deamons access the CNID database directly\&. Berkeley DB locking is used to synchronize access, if more than one
1067 \fBafpd\fR
1068 process is active for a volume\&. The drawback is, that the crash of a single
1069 \fBafpd\fR
1070 process might corrupt the database\&.
1071 .RE
1072 .PP
1073 dbd
1074 .RS 4
1075 Access to the CNID database is restricted to the
1076 \fBcnid_metad\fR
1077 daemon process\&.
1078 \fBafpd\fR
1079 processes communicate with the daemon for database reads and updates\&. If built with Berkeley DB transactions the probability for database corruption is practically zero, but performance can be slower than with
1080 \fBcdb\fR
1081 .RE
1082 .PP
1083 last
1084 .RS 4
1085 This backend is an exception, in terms of ID persistency\&. ID\'s are only valid for the current session\&. This is basically what
1086 \fBafpd\fR
1087 did in the 1\&.5 (and 1\&.6) versions\&. This backend is still available, as it is useful for e\&.g\&. sharing cdroms\&. Starting with Netatalk 3\&.0, it becomes the
1088 \fIread only mode\fR
1089 automatically\&.
1090 .sp
1091 \fBWarning\fR: It is
1092 \fINOT\fR
1093 recommended to use this backend for volumes anymore, as
1094 \fBafpd\fR
1095 now relies heavily on a persistent ID database\&. Aliases will likely not work and filename mangling is not supported\&.
1096 .RE
1097 .PP
1098 Even though
1099 \fB\&./configure \-\-help\fR
1100 might show that there are other CNID backends available, be warned those are likely broken or mainly used for testing\&. Don\'t use them unless you know what you\'re doing, they may be removed without further notice from future versions\&.
1101 .SH "CHARSET OPTIONS"
1102 .PP
1103 With OS X Apple introduced the AFP3 protocol\&. One of the most important changes was that AFP3 uses unicode names encoded as UTF\-8 decomposed\&. Previous AFP/OS versions used codepages, like MacRoman, MacCentralEurope, etc\&.
1104 .PP
1105 \fBafpd\fR
1106 needs a way to preserve extended macintosh characters, or characters illegal in unix filenames, when saving files on a unix filesystem\&. Earlier versions used the the so called CAP encoding\&. An extended character (>0x7F) would be converted to a :xx sequence, e\&.g\&. the Apple Logo (MacRoman: 0xF0) was saved as
1107 :f0\&. Some special characters will be converted as to :xx notation as well\&. \'/\' will be encoded to
1108 :2f, if
1109 \fBusedots\fR
1110 is not specified, a leading dot \'\&.\' will be encoded as
1111 :2e\&.
1112 .PP
1113 This version now uses UTF\-8 as the default encoding for names\&. \'/\' will be converted to \':\'\&.
1114 .PP
1115 The
1116 \fBvol charset\fR
1117 option will allow you to select another volume encoding\&. E\&.g\&. for western users another useful setting could be vol charset ISO\-8859\-15\&.
1118 \fBafpd\fR
1119 will accept any
1120 \fBiconv\fR(1)
1121 provided charset\&. If a character cannot be converted from the
1122 \fBmac charset\fR
1123 to the selected
1124 \fBvol charset\fR, afpd will save it as a CAP encoded character\&. For AFP3 clients,
1125 \fBafpd\fR
1126 will convert the UTF\-8
1127 character to
1128 \fBmac charset\fR
1129 first\&. If this conversion fails, you\'ll receive a \-50 error on the mac\&.
1130 .PP
1131 \fINote\fR: Whenever you can, please stick with the default UTF\-8 volume format\&.
1132 .SH "SEE ALSO"
1133 .PP
1134 \fBafpd\fR(8),
1135 \fBafppasswd\fR(5),
1136 \fBafp_signature.conf\fR(5),
1137 \fBcnid_metad\fR(8)