]> arthur.barton.de Git - netatalk.git/blob - man/man5/afp.conf.5.tmpl
Import manpage from XML
[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: 22 Nov 2012
6 .\"    Manual: Netatalk 3.0
7 .\"    Source: Netatalk 3.0
8 .\"  Language: English
9 .\"
10 .TH "AFP\&.CONF" "5" "22 Nov 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       
99 .fi
100 .if n \{\
101 .RE
102 .\}
103 .SH "SPECIAL SECTIONS"
104 .SS "The [Global] section"
105 .PP
106 Parameters in this section apply to the server as a whole\&. Parameters denoted by a (G) below are must be set in this section\&.
107 .SS "The [Homes] section"
108 .PP
109 This section enable sharing of the UNIX server user home directories\&. Specifying an optional
110 \fBpath\fR
111 parameter means that not the whole user home will be shared but the subdirectory
112 \fBpath\fR\&. It is neccessary to define the
113 \fBbasedir regex\fR
114 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
115 \fBhome name\fR
116 can be used to change the AFP volume name which
117 \fI$u\'s home\fR
118 by default\&. See below under VARIABLE SUBSTITUTIONS\&.
119 .PP
120 The following example illustrates this\&. Given all user home directories are stored under
121 /home:
122 .sp
123 .if n \{\
124 .RS 4
125 .\}
126 .nf
127 [Homes]
128 path = afp\-data
129 basedir regex = /home
130       
131 .fi
132 .if n \{\
133 .RE
134 .\}
135 .sp
136 For a user
137 \fIjohn\fR
138 this results in an AFP home volume with a path of
139 /home/john/afp\-data\&.
140 .SH "PARAMETERS"
141 .PP
142 Parameters define the specific attributes of sections\&.
143 .PP
144 Some parameters are specific to the [Global] section (e\&.g\&.,
145 \fIlog type\fR)\&. All others are permissible only in volume sections\&. The letter
146 \fIG\fR
147 in parentheses indicates that a parameter is specific to the [Global] section\&. The letter
148 \fIV\fR
149 indicates that a parameter can be specified in a volume specific section\&.
150 .SH "VARIABLE SUBSTITUTIONS"
151 .PP
152 You can use variables in volume names\&. The use of variables in paths is not supported for now\&.
153 .sp
154 .RS 4
155 .ie n \{\
156 \h'-04' 1.\h'+01'\c
157 .\}
158 .el \{\
159 .sp -1
160 .IP "  1." 4.2
161 .\}
162 if you specify an unknown variable, it will not get converted\&.
163 .RE
164 .sp
165 .RS 4
166 .ie n \{\
167 \h'-04' 2.\h'+01'\c
168 .\}
169 .el \{\
170 .sp -1
171 .IP "  2." 4.2
172 .\}
173 if you specify a known variable, but that variable doesn\'t have a value, it will get ignored\&.
174 .RE
175 .PP
176 The variables which can be used for substitutions are:
177 .PP
178 $b
179 .RS 4
180 basename
181 .RE
182 .PP
183 $c
184 .RS 4
185 client\'s ip address
186 .RE
187 .PP
188 $d
189 .RS 4
190 volume pathname on server
191 .RE
192 .PP
193 $f
194 .RS 4
195 full name (contents of the gecos field in the passwd file)
196 .RE
197 .PP
198 $g
199 .RS 4
200 group name
201 .RE
202 .PP
203 $h
204 .RS 4
205 hostname
206 .RE
207 .PP
208 $i
209 .RS 4
210 client\'s ip, without port
211 .RE
212 .PP
213 $s
214 .RS 4
215 server name (this can be the hostname)
216 .RE
217 .PP
218 $u
219 .RS 4
220 user name (if guest, it is the user that guest is running as)
221 .RE
222 .PP
223 $v
224 .RS 4
225 volume name
226 .RE
227 .PP
228 $$
229 .RS 4
230 prints dollar sign ($)
231 .RE
232 .SH "EXPLANATION OF GLOBAL PARAMETERS"
233 .SS "Authentication Options"
234 .PP
235 admin auth user = \fIuser\fR \fB(G)\fR
236 .RS 4
237 Specifying eg "\fBadmin auth user = root\fR" whenever a normal user login fails, afpd will try to authenticate as the specified
238 \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
239 \fBadmin auth user\fR, you can authenticate as any other user\&.
240 .RE
241 .PP
242 k5 keytab = \fIpath\fR \fB(G)\fR, k5 service = \fIservice\fR \fB(G)\fR, k5 realm = \fIrealm\fR \fB(G)\fR
243 .RS 4
244 These are required if the server supports the Kerberos 5 authentication UAM\&.
245 .RE
246 .PP
247 nt domain = \fIDOMAIN\fR \fB(G)\fR, nt separator = \fISEPERATOR\fR \fB(G)\fR
248 .RS 4
249 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\&.
250 .RE
251 .PP
252 save password = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
253 .RS 4
254 Enables or disables the ability of clients to save passwords locally\&.
255 .RE
256 .PP
257 set password = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
258 .RS 4
259 Enables or disables the ability of clients to change their passwords via chooser or the "connect to server" dialog\&.
260 .RE
261 .PP
262 uam list = \fIuam list\fR \fB(G)\fR
263 .RS 4
264 Space or comma separated list of UAMs\&. (The default is "uams_dhx\&.so uams_dhx2\&.so")\&.
265 .sp
266 The most commonly used UAMs are:
267 .PP
268 uams_guest\&.so
269 .RS 4
270 allows guest logins
271 .RE
272 .PP
273 uams_clrtxt\&.so
274 .RS 4
275 (uams_pam\&.so or uams_passwd\&.so) Allow logins with passwords transmitted in the clear\&. (legacy)
276 .RE
277 .PP
278 uams_randum\&.so
279 .RS 4
280 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
281 \fBafppasswd\fR(1)
282 for details\&. (legacy)
283 .RE
284 .PP
285 uams_dhx\&.so
286 .RS 4
287 (uams_dhx_pam\&.so or uams_dhx_passwd\&.so) Allow Diffie\-Hellman eXchange (DHX) for authentication\&.
288 .RE
289 .PP
290 uams_dhx2\&.so
291 .RS 4
292 (uams_dhx2_pam\&.so or uams_dhx2_passwd\&.so) Allow Diffie\-Hellman eXchange 2 (DHX2) for authentication\&.
293 .RE
294 .PP
295 uam_gss\&.so
296 .RS 4
297 Allow Kerberos V for authentication (optional)
298 .RE
299 .RE
300 .PP
301 uam path = \fIpath\fR \fB(G)\fR
302 .RS 4
303 Sets the default path for UAMs for this server (default is :LIBDIR:/netatalk)\&.
304 .RE
305 .SS "Charset Options"
306 .PP
307 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\&.
308 .PP
309 To be able to serve AFP3 and older clients at the same time,
310 \fBafpd\fR
311 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,
312 \fBafpd\fR
313 can detect the codepage a pre AFP3 client uses, you have to specify it using the
314 \fBmac charset\fR
315 option\&. The default is MacRoman, which should be fine for most western users\&.
316 .PP
317 As
318 \fBafpd\fR
319 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
320 \fBafpd\fR
321 uses
322 \fIUTF8\fR\&. You can set the UNIX charset using the
323 \fBunix charset\fR
324 option\&. If you\'re using extended characters in the configuration files for
325 \fBafpd\fR, make sure your terminal matches the
326 \fBunix charset\fR\&.
327 .PP
328 mac charset = \fICHARSET\fR \fB(G)/(V)\fR
329 .RS 4
330 Specifies the Mac clients charset, e\&.g\&.
331 \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
332 \fBmac charset\fR\&. Defaults to
333 \fIMAC_ROMAN\fR\&.
334 .RE
335 .PP
336 unix charset = \fICHARSET\fR \fB(G)\fR
337 .RS 4
338 Specifies the servers unix charset, e\&.g\&.
339 \fIISO\-8859\-15\fR
340 or
341 \fIEUC\-JP\fR\&. This is used to convert strings to/from the systems locale, e\&.g\&. for authenthication, server messages and volume names\&. If
342 \fILOCALE\fR
343 is set, the systems locale is used\&. Defaults to
344 \fIUTF8\fR\&.
345 .RE
346 .PP
347 vol charset = \fICHARSET\fR \fB(G)/(V)\fR
348 .RS 4
349 Specifies the encoding of the volumes filesystem\&. By default, it is the same as
350 \fBunix charset\fR\&.
351 .RE
352 .SS "Password Options"
353 .PP
354 passwd file = \fIpath\fR \fB(G)\fR
355 .RS 4
356 Sets the path to the Randnum UAM passwd file for this server (default is :ETCDIR:/afppasswd)\&.
357 .RE
358 .PP
359 passwd minlen = \fInumber\fR \fB(G)\fR
360 .RS 4
361 Sets the minimum password length, if supported by the UAM
362 .RE
363 .SS "Network Options"
364 .PP
365 advertise ssh = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
366 .RS 4
367 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
368 \fBsshd\fR(8)
369 on the server to let things work\&.
370 .if n \{\
371 .sp
372 .\}
373 .RS 4
374 .it 1 an-trap
375 .nr an-no-space-flag 1
376 .nr an-break-flag 1
377 .br
378 .ps +1
379 \fBNote\fR
380 .ps -1
381 .br
382 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\&.
383 .sp .5v
384 .RE
385 .RE
386 .PP
387 afp listen = \fIip address[:port] [ip adress[:port] \&.\&.\&.]\fR \fB(G)\fR
388 .RS 4
389 Specifies the IP address that the server should advertise
390 \fBand\fR
391 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\&.
392 .RE
393 .PP
394 afp port = \fIport number\fR \fB(G)\fR
395 .RS 4
396 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
397 \fBafp listen\fR
398 option\&.
399 .RE
400 .PP
401 cnid listen = \fIip address[:port] [ip adress[:port] \&.\&.\&.]\fR \fB(G)\fR
402 .RS 4
403 Specifies the IP address that the CNID server should listen on\&. The default is
404 \fBlocalhost:4700\fR\&.
405 .RE
406 .PP
407 disconnect time = \fInumber\fR \fB(G)\fR
408 .RS 4
409 Keep disconnected AFP sessions for
410 \fInumber\fR
411 hours before dropping them\&. Default is 24 hours\&.
412 .RE
413 .PP
414 dsireadbuf = \fInumber\fR \fB(G)\fR
415 .RS 4
416 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\&.
417 \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)\&.
418 .RE
419 .PP
420 fqdn = \fIname:port\fR \fB(G)\fR
421 .RS 4
422 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\&.
423 .RE
424 .PP
425 hostname = \fIname\fR \fB(G)\fR
426 .RS 4
427 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
428 \fBafp listen\fR\&.
429 .RE
430 .PP
431 max connections = \fInumber\fR \fB(G)\fR
432 .RS 4
433 Sets the maximum number of clients that can simultaneously connect to the server (default is 200)\&.
434 .RE
435 .PP
436 server quantum = \fInumber\fR \fB(G)\fR
437 .RS 4
438 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
439 .RE
440 .PP
441 sleep time = \fInumber\fR \fB(G)\fR
442 .RS 4
443 Keep sleeping AFP sessions for
444 \fInumber\fR
445 hours before disconnecting clients in sleep mode\&. Default is 10 hours\&.
446 .RE
447 .PP
448 tcprcvbuf = \fInumber\fR \fB(G)\fR
449 .RS 4
450 Try to set TCP receive buffer using setsockpt()\&. Often OSes impose restrictions on the applications ability to set this value\&.
451 .RE
452 .PP
453 tcpsndbuf = \fInumber\fR \fB(G)\fR
454 .RS 4
455 Try to set TCP send buffer using setsockpt()\&. Often OSes impose restrictions on the applications ability to set this value\&.
456 .RE
457 .PP
458 use sendfile = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
459 .RS 4
460 Whether to use sendfile
461 syscall for sending file data to clients\&.
462 .RE
463 .PP
464 zeroconf = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
465 .RS 4
466 Whether to use automatic Zeroconf
467 service registration if Avahi or mDNSResponder were compiled in\&.
468 .RE
469 .SS "Miscellaneous Options"
470 .PP
471 admin group = \fIgroup\fR \fB(G)\fR
472 .RS 4
473 Allows users of a certain group to be seen as the superuser when they log in\&. This option is disabled by default\&.
474 .RE
475 .PP
476 afp read locks = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
477 .RS 4
478 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\&.
479 .RE
480 .PP
481 basedir regex = \fIregex\fR \fB(H)\fR
482 .RS 4
483 Regular expression which matches the parent directory of the user homes\&. In the simple case this is just a path ie
484 \fBbasedir regex = /home\fR
485 .RE
486 .PP
487 close vol = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
488 .RS 4
489 Whether to close volumes possibly opened by clients when they\'re removed from the configuration and the configuration is reloaded\&.
490 .RE
491 .PP
492 cnid server = \fIipaddress[:port]\fR \fB(G)/(V)\fR
493 .RS 4
494 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\&.\-
495 .RE
496 .PP
497 dircachesize = \fInumber\fR \fB(G)\fR
498 .RS 4
499 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\&.
500 .sp
501 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\&.
502 .RE
503 .PP
504 extmap file = \fIpath\fR \fB(G)\fR
505 .RS 4
506 Sets the path to the file which defines file extension type/creator mappings\&. (default is :ETCDIR:/AppleVolumes\&.system)\&.
507 .RE
508 .PP
509 guest account = \fIname\fR \fB(G)\fR
510 .RS 4
511 Specifies the user that guests should use (default is "nobody")\&. The name should be quoted\&.
512 .RE
513 .PP
514 home name = \fIname\fR \fB(H)\fR
515 .RS 4
516 AFP user home volume name\&. The default is
517 \fIusers\'s home\fR\&.
518 .RE
519 .PP
520 keep sessions = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
521 .RS 4
522 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
523 \fInetatalk\fR
524 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\&.
525 .RE
526 .PP
527 login message = \fImessage\fR \fB(G)/(V)\fR
528 .RS 4
529 Sets a message to be displayed when clients logon to the server\&. The message should be in
530 \fBunix charset\fR
531 and should be quoted\&. Extended characters are allowed\&.
532 .RE
533 .PP
534 map acls = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
535 .RS 4
536 Whether to map filesystem ACLs to effective permissions\&.
537 .RE
538 .PP
539 mimic model = \fImodel\fR \fB(G)\fR
540 .RS 4
541 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\&.
542 .RE
543 .PP
544 signature = <text> \fB(G)\fR
545 .RS 4
546 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
547 :STATEDIR:/netatalk/afp_signature\&.conf
548 automatically (based on random number)\&. See also asip\-status\&.pl(1)\&.
549 .RE
550 .PP
551 solaris share reservations = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(G)\fR
552 .RS 4
553 Use share reservations on Solaris\&. Solaris CIFS server uses this too, so this makes a lock coherent multi protocol server\&.
554 .RE
555 .PP
556 vol dbpath = \fIpath\fR \fB(G)\fR
557 .RS 4
558 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
559 :STATEDIR:/netatalk/CNID/\&.
560 .RE
561 .PP
562 volnamelen = \fInumber\fR \fB(G)\fR
563 .RS 4
564 Max length of UTF8\-MAC volume name for Mac OS X\&. Note that Hangul is especially sensitive to this\&.
565 .sp
566 .if n \{\
567 .RS 4
568 .\}
569 .nf
570 73:  limit of Mac OS X 10\&.1
571 80:  limit of Mac OS X 10\&.4/10\&.5 (default)
572 255: limit of recent Mac OS X
573 .fi
574 .if n \{\
575 .RE
576 .\}
577 .sp
578 Mac OS 9 and earlier are not influenced by this, because Maccharset volume name is always limitted to 27 bytes\&.
579 .RE
580 .PP
581 vol preset = \fIname\fR \fB(G)/(V)\fR
582 .RS 4
583 Use section
584 \fBname\fR
585 as option preset for all volumes (when set in the [Global] section) or for one volume (when set in that volume\'s section)\&.
586 .RE
587 .SS "Logging Options"
588 .PP
589 log file = \fIlogfile\fR \fB(G)\fR
590 .RS 4
591 If not specified Netatalk logs to syslogs daemon facilify\&. Otherwise it logs to
592 \fBlogfile\fR\&.
593 .RE
594 .PP
595 log level = \fItype:level [type:level \&.\&.\&.]\fR \fB(G)\fR, log level = \fItype:level,[type:level, \&.\&.\&.]\fR \fB(G)\fR
596 .RS 4
597 Specify that any message of a loglevel up to the given
598 \fBlog level\fR
599 should be logged\&.
600 .sp
601 By default afpd logs to syslog with a default logging setup equivalent to
602 \fBdefault:note\fR
603 .sp
604 logtypes: default, afpdaemon, logger, uamsdaemon
605 .sp
606 loglevels: severe, error, warn, note, info, debug, debug6, debug7, debug8, debug9, maxdebug
607 .if n \{\
608 .sp
609 .\}
610 .RS 4
611 .it 1 an-trap
612 .nr an-no-space-flag 1
613 .nr an-break-flag 1
614 .br
615 .ps +1
616 \fBNote\fR
617 .ps -1
618 .br
619 Both logtype and loglevels are case insensitive\&.
620 .sp .5v
621 .RE
622 .RE
623 .SS "Filesystem Change Events (FCE)"
624 .PP
625 Netatalk includes a nifty filesystem change event mechanism where afpd processes notfiy interested listeners about certain filesytem event by UDP network datagrams\&.
626 .PP
627 fce listener = \fIhost[:port]\fR \fB(G)\fR
628 .RS 4
629 Enables sending FCE events to the specified
630 \fIhost\fR, default
631 \fIport\fR
632 is 12250 if not specified\&. Specifying mutliple listeners is done by having this option once for each of them\&.
633 .RE
634 .PP
635 fce events = \fIfmod,fdel,ddel,fcre,dcre,tmsz\fR \fB(G)\fR
636 .RS 4
637 Speficies which FCE events are active, default is
638 \fIfmod,fdel,ddel,fcre,dcre\fR\&.
639 .RE
640 .PP
641 fce coalesce = \fIall|delete|create\fR \fB(G)\fR
642 .RS 4
643 Coalesce FCE events\&.
644 .RE
645 .PP
646 fce holdfmod = \fIseconds\fR \fB(G)\fR
647 .RS 4
648 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\&.
649 .RE
650 .SS "Debug Parameters"
651 .PP
652 These options are useful for debugging only\&.
653 .PP
654 tickleval = \fInumber\fR \fB(G)\fR
655 .RS 4
656 Sets the tickle timeout interval (in seconds)\&. Defaults to 30\&.
657 .RE
658 .PP
659 timeout = \fInumber\fR \fB(G)\fR
660 .RS 4
661 Specify the number of tickles to send before timing out a connection\&. The default is 4, therefore a connection will timeout after 2 minutes\&.
662 .RE
663 .PP
664 client polling = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
665 .RS 4
666 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\&.
667 \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!
668 .sp
669 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\&.
670 .RE
671 .SS "Options for ACL handling"
672 .PP
673 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\&.
674 .PP
675 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\&.
676 .PP
677 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)\&.
678 .PP
679 The following LDAP options must be configured for Netatalk:
680 .PP
681 ldap auth method = \fInone|simple|sasl\fR \fB(G)\fR
682 .RS 4
683 Authentication method:
684 \fBnone | simple | sasl\fR
685 .PP
686 none
687 .RS 4
688 anonymous LDAP bind
689 .RE
690 .PP
691 simple
692 .RS 4
693 simple LDAP bind
694 .RE
695 .PP
696 sasl
697 .RS 4
698 SASL\&. Not yet supported !
699 .RE
700 .RE
701 .PP
702 ldap auth dn = \fIdn\fR \fB(G)\fR
703 .RS 4
704 Distinguished Name of the user for simple bind\&.
705 .RE
706 .PP
707 ldap auth pw = \fIpassword\fR \fB(G)\fR
708 .RS 4
709 Distinguished Name of the user for simple bind\&.
710 .RE
711 .PP
712 ldap server = \fIhost\fR \fB(G)\fR
713 .RS 4
714 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\&.
715 .sp
716 You can use
717 \fBafpldaptest\fR(1)
718 to syntactically check your config\&.
719 .RE
720 .PP
721 ldap userbase = \fIbase dn\fR \fB(G)\fR
722 .RS 4
723 DN of the user container in LDAP\&.
724 .RE
725 .PP
726 ldap userscope = \fIscope\fR \fB(G)\fR
727 .RS 4
728 Search scope for user search:
729 \fBbase | one | sub\fR
730 .RE
731 .PP
732 ldap groupbase = \fIbase dn\fR \fB(G)\fR
733 .RS 4
734 DN of the group container in LDAP\&.
735 .RE
736 .PP
737 ldap groupscope = \fIscope\fR \fB(G)\fR
738 .RS 4
739 Search scope for user search:
740 \fBbase | one | sub\fR
741 .RE
742 .PP
743 ldap uuid attr = \fIdn\fR \fB(G)\fR
744 .RS 4
745 Name of the LDAP attribute with the UUIDs\&.
746 .sp
747 Note: this is used both for users and groups\&.
748 .RE
749 .PP
750 ldap name attr = \fIdn\fR \fB(G)\fR
751 .RS 4
752 Name of the LDAP attribute with the users short name\&.
753 .RE
754 .PP
755 ldap uuid string = \fISTRING\fR \fB(G)\fR
756 .RS 4
757 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\&.
758 .sp
759 Default: xxxxxxxx\-xxxx\-xxxx\-xxxx\-xxxxxxxxxxxx
760 .RE
761 .PP
762 ldap uuid encoding = \fIstring | ms\-guid (default: string)\fR \fB(G)\fR
763 .RS 4
764 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\&.
765 .PP
766 string
767 .RS 4
768 UUID is a string, use with eg OpenDirectory\&.
769 .RE
770 .PP
771 ms\-guid
772 .RS 4
773 Binary objectGUID from Active Directory
774 .RE
775 .RE
776 .PP
777 ldap group attr = \fIdn\fR \fB(G)\fR
778 .RS 4
779 Name of the LDAP attribute with the groups short name\&.
780 .RE
781 .SH "EXPLANATION OF VOLUME PARAMETERS"
782 .SS "Parameters"
783 .PP
784 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
785 \':\'
786 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\&.
787 .PP
788 path = \fIPATH\fR \fB(V)\fR
789 .RS 4
790 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\&.
791 .sp
792 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
793 \':\'
794 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\&.
795 .RE
796 .PP
797 appledouble = \fIea|v2\fR \fB(V)\fR
798 .RS 4
799 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
800 \fBea\fR\&.
801 .RE
802 .PP
803 vol size limit = \fIsize in MiB\fR \fB(V)\fR
804 .RS 4
805 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\&.
806 \fBIMPORTANT: \fR
807 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\&.
808 .RE
809 .PP
810 valid users = \fIusers/groups\fR \fB(V)\fR
811 .RS 4
812 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\&. Example: "valid users = user1 user2 @group"
813 .RE
814 .PP
815 invalid users = \fIusers/groups\fR \fB(V)\fR
816 .RS 4
817 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\&.
818 .RE
819 .PP
820 hosts allow = \fIIP host address/IP netmask bits [ \&.\&.\&. ]\fR \fB(V)\fR
821 .RS 4
822 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\&.
823 .sp
824 Example: hosts allow = 10\&.1\&.0\&.0/16 10\&.2\&.1\&.100 2001:0db8:1234::/48
825 .RE
826 .PP
827 hosts deny = \fIIP host address/IP netmask bits [ \&.\&.\&. ]\fR \fB(V)\fR
828 .RS 4
829 Listed hosts and nets are rejected, all others are allowed\&.
830 .sp
831 Example: hosts deny = 192\&.168\&.100/24 10\&.1\&.1\&.1 2001:db8::1428:57ab
832 .RE
833 .PP
834 cnid scheme = \fIbackend\fR \fB(V)\fR
835 .RS 4
836 set the CNID backend to be used for the volume, default is [:DEFAULT_CNID_SCHEME:] available schemes: [:COMPILED_BACKENDS:]
837 .RE
838 .PP
839 ea = \fInone|auto|sys|ad\fR
840 .RS 4
841 Specify how Extended Attributes
842 are stored\&.
843 \fBauto\fR
844 is the default\&.
845 .PP
846 auto
847 .RS 4
848 Try
849 \fBsys\fR
850 (by setting an EA on the shared directory itself), fallback to
851 \fBad\fR\&. Requires writeable volume for perfoming test\&. "\fBread only = yes\fR" overwrites
852 \fBauto\fR
853 with
854 \fBnone\fR\&. Use explicit "\fBea = sys|ad\fR" for read\-only volumes where appropiate\&.
855 .RE
856 .PP
857 sys
858 .RS 4
859 Use filesystem Extended Attributes\&.
860 .RE
861 .PP
862 ad
863 .RS 4
864 Use files in
865 \fI\&.AppleDouble\fR
866 directories\&.
867 .RE
868 .PP
869 none
870 .RS 4
871 No Extended Attributes support\&.
872 .RE
873 .RE
874 .PP
875 mac charset = \fICHARSET\fR \fB(V)\fR
876 .RS 4
877 specifies the Mac client charset for this Volume, e\&.g\&.
878 \fIMAC_ROMAN\fR,
879 \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\&.
880 .RE
881 .PP
882 casefold = \fBoption\fR
883 .RS 4
884 The casefold option handles, if the case of filenames should be changed\&. The available options are:
885 .sp
886 \fBtolower\fR
887 \- Lowercases names in both directions\&.
888 .sp
889 \fBtoupper\fR
890 \- Uppercases names in both directions\&.
891 .sp
892 \fBxlatelower\fR
893 \- Client sees lowercase, server sees uppercase\&.
894 .sp
895 \fBxlateupper\fR
896 \- Client sees uppercase, server sees lowercase\&.
897 .RE
898 .PP
899 password = \fIpassword\fR \fB(V)\fR
900 .RS 4
901 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)\&.
902 .RE
903 .PP
904 file perm = \fImode\fR \fB(V)\fR, directory perm = \fImode\fR \fB(V)\fR
905 .RS 4
906 Add(or) with the client requested permissions:
907 \fBfile perm\fR
908 is for files only,
909 \fBdirectory perm\fR
910 is for directories only\&. Don\'t use with "\fBunix priv = no\fR"\&.
911 .PP
912 \fBExample.\ \&Volume for a collaborative workgroup\fR
913 .sp
914 .if n \{\
915 .RS 4
916 .\}
917 .nf
918 file perm = 0660
919 directory perm = 0770
920 .fi
921 .if n \{\
922 .RE
923 .\}
924
925 .RE
926 .PP
927 umask = \fImode\fR \fB(V)\fR
928 .RS 4
929 set perm mask\&. Don\'t use with "\fBunix priv = no\fR"\&.
930 .RE
931 .PP
932 preexec = \fIcommand\fR \fB(V)\fR
933 .RS 4
934 command to be run when the volume is mounted, ignored for user defined volumes
935 .RE
936 .PP
937 postexec = \fIcommand\fR \fB(V)\fR
938 .RS 4
939 command to be run when the volume is closed, ignored for user defined volumes
940 .RE
941 .PP
942 root preexec = \fIcommand\fR \fB(V)\fR
943 .RS 4
944 command to be run as root when the volume is mounted, ignored for user defined volumes
945 .RE
946 .PP
947 root postexec = \fIcommand\fR \fB(V)\fR
948 .RS 4
949 command to be run as root when the volume is closed, ignored for user defined volumes
950 .RE
951 .PP
952 rolist = \fBusers/groups\fR \fB(V)\fR
953 .RS 4
954 Allows certain users and groups to have read\-only access to a share\&. This follows the allow option format\&.
955 .RE
956 .PP
957 rwlist = \fIusers/groups\fR \fB(V)\fR
958 .RS 4
959 Allows certain users and groups to have read/write access to a share\&. This follows the allow option format\&.
960 .RE
961 .PP
962 veto files = \fIvetoed names\fR \fB(V)\fR
963 .RS 4
964 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/"\&.
965 .RE
966 .SS "Volume options"
967 .PP
968 Boolean volume options\&.
969 .PP
970 acls = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
971 .RS 4
972 Whether to flag volumes as supporting ACLs\&. If ACL support is compiled in, this is yes by default\&.
973 .RE
974 .PP
975 cnid dev = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
976 .RS 4
977 Whether to use the device number in the CNID backends\&. Helps when the device number is not constant across a reboot, eg cluster, \&.\&.\&.
978 .RE
979 .PP
980 convert appledouble = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
981 .RS 4
982 Whether automatic conversion from
983 \fBappledouble = v2\fR
984 to
985 \fBappledouble = ea\fR
986 is performed when accessing filesystems from clients\&. This is generally useful, but costs some performance\&. It\'s recommdable to run
987 \fBdbd\fR
988 on volumes and do the conversion with that\&. Then this option can be set to no\&.
989 .RE
990 .PP
991 invisible dots = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
992 .RS 4
993 make dot files invisible\&.
994 .RE
995 .PP
996 network ids = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
997 .RS 4
998 Whether the server support network ids\&. Setting this to
999 \fIno\fR
1000 will result in the client not using ACL AFP functions\&.
1001 .RE
1002 .PP
1003 preexec close = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1004 .RS 4
1005 A non\-zero return code from preexec close the volume being immediately, preventing clients to mount/see the volume in question\&.
1006 .RE
1007 .PP
1008 read only = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1009 .RS 4
1010 Specifies the share as being read only for all users\&. Overwrites
1011 \fBea = auto\fR
1012 with
1013 \fBea = none\fR
1014 .RE
1015 .PP
1016 root preexec close= \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1017 .RS 4
1018 A non\-zero return code from root_preexec closes the volume immediately, preventing clients to mount/see the volume in question\&.
1019 .RE
1020 .PP
1021 search db = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1022 .RS 4
1023 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\&.
1024 .RE
1025 .PP
1026 stat vol = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
1027 .RS 4
1028 Whether to stat volume path when enumerating volumes list, useful for automounting or volumes created by a preexec script\&.
1029 .RE
1030 .PP
1031 time machine = \fIBOOLEAN\fR (default: \fIno\fR) \fB(V)\fR
1032 .RS 4
1033 Whether to enable Time Machine suport for this volume\&.
1034 .RE
1035 .PP
1036 unix priv = \fIBOOLEAN\fR (default: \fIyes\fR) \fB(V)\fR
1037 .RS 4
1038 Whether to use AFP3 UNIX privileges\&. This should be set for OS X clients\&. See also:
1039 \fBfile perm\fR,
1040 \fBdirectory perm\fR
1041 and
1042 \fBumask\fR\&.
1043 .RE
1044 .SH "CNID BACKENDS"
1045 .PP
1046 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
1047 :STATEDIR:/netatalk/CNID/(volumename)/\&.AppleDB/
1048 directory\&.
1049 .PP
1050 cdb
1051 .RS 4
1052 "Concurrent database", backend is based on Oracle Berkely DB\&. With this backend several
1053 \fBafpd\fR
1054 deamons access the CNID database directly\&. Berkeley DB locking is used to synchronize access, if more than one
1055 \fBafpd\fR
1056 process is active for a volume\&. The drawback is, that the crash of a single
1057 \fBafpd\fR
1058 process might corrupt the database\&.
1059 .RE
1060 .PP
1061 dbd
1062 .RS 4
1063 Access to the CNID database is restricted to the
1064 \fBcnid_metad\fR
1065 daemon process\&.
1066 \fBafpd\fR
1067 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
1068 \fBcdb\fR
1069 .RE
1070 .PP
1071 last
1072 .RS 4
1073 This backend is an exception, in terms of ID persistency\&. ID\'s are only valid for the current session\&. This is basically what
1074 \fBafpd\fR
1075 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
1076 \fIread only mode\fR
1077 automatically\&.
1078 .sp
1079 \fBWarning\fR: It is
1080 \fINOT\fR
1081 recommended to use this backend for volumes anymore, as
1082 \fBafpd\fR
1083 now relies heavily on a persistent ID database\&. Aliases will likely not work and filename mangling is not supported\&.
1084 .RE
1085 .PP
1086 Even though
1087 \fB\&./configure \-\-help\fR
1088 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\&.
1089 .SH "CHARSET OPTIONS"
1090 .PP
1091 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\&.
1092 .PP
1093 \fBafpd\fR
1094 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
1095 :f0\&. Some special characters will be converted as to :xx notation as well\&. \'/\' will be encoded to
1096 :2f, if
1097 \fBusedots\fR
1098 is not specified, a leading dot \'\&.\' will be encoded as
1099 :2e\&.
1100 .PP
1101 This version now uses UTF\-8 as the default encoding for names\&. \'/\' will be converted to \':\'\&.
1102 .PP
1103 The
1104 \fBvol charset\fR
1105 option will allow you to select another volume encoding\&. E\&.g\&. for western users another useful setting could be vol charset ISO\-8859\-15\&.
1106 \fBafpd\fR
1107 will accept any
1108 \fBiconv\fR(1)
1109 provided charset\&. If a character cannot be converted from the
1110 \fBmac charset\fR
1111 to the selected
1112 \fBvol charset\fR, afpd will save it as a CAP encoded character\&. For AFP3 clients,
1113 \fBafpd\fR
1114 will convert the UTF\-8
1115 character to
1116 \fBmac charset\fR
1117 first\&. If this conversion fails, you\'ll receive a \-50 error on the mac\&.
1118 .PP
1119 \fINote\fR: Whenever you can, please stick with the default UTF\-8 volume format\&.
1120 .SH "SEE ALSO"
1121 .PP
1122 \fBafpd\fR(8),
1123 \fBafppasswd\fR(5),
1124 \fBafp_signature.conf\fR(5),
1125 \fBcnid_metad\fR(8)