]> arthur.barton.de Git - netatalk.git/blob - man/man5/AppleVolumes.default.5.tmpl
2b361f75bd908df7b57c7d3f36a870928ee88ca7
[netatalk.git] / man / man5 / AppleVolumes.default.5.tmpl
1 .\" $Id: AppleVolumes.default.5.tmpl,v 1.1 2000-09-22 15:18:44 arichard Exp $
2 .TH AppleVolumes.default 5 "20 September 2000" "netatalk 1.5"
3 .UC 4
4 .SH NAME
5 AppleVolumes.default \- Configuration file used by \fBafpd\fR(8)
6 to determine the shares made available through Appletalk
7
8 .SH DESCRIPTION
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.
12
13 Any line not prefixed with \fB#\fR is interpreted. The configuration lines
14 are composed like:
15
16 .RS
17 .sp
18 .I path
19 .B [
20 .I chooser name
21 .B ] [
22 .I options
23 .B ]
24
25 .sp
26 .RE
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.
30
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.
35
36 The possible options and their meanings are:
37
38 .TP
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.
43
44 \fIExample:\fR \fBallow:user1,user2,@group\fR
45
46 .TP
47 .B casefold:[option]
48 The casefold option handles how casenames should be mangled. The available
49 options are:
50
51 \fBtolower\fR - Lowercases names in both directions.
52
53 \fBtoupper\fR - Uppercases names in both directions.
54
55 \fBxlatelower\fR - Client sees lowercase, server sees uppercase.
56
57 \fBxlateupper\fR - Client sees uppercase, server sees lowercase.
58
59 .TP
60 .B codepage:[nls file]
61 The codepage option loads a specific codepage from the nls directory.
62
63 .TP
64 .B dbpath:[path]
65 Sets the database information to be stored in \fBpath\fR.
66
67 .TP
68 .B deny:[users/groups]
69 The deny option specifies users and groups who are not allowed access
70 to the share. It follows the same format as the \fBallow\fR option.
71
72 .TP
73 .B options:[option]
74 This allows multiple options to be specified in a comma delimited format.
75 The available options are:
76
77 \fBcrlf\fR - Enables crlf translation for TEXT files.
78
79 \fBlimitsize\fR - Hack for older Macintoshes using newer Appleshare
80 clients to limit the disk size reporting to 2 GB.
81
82 \fBmswindows\fR - Forces filename restrictions imposed by MS WinXX, and
83 invokes the MS default codepage (iso8859-1) if one is not already
84 specified.
85
86 \fBnoadouble\fR - Forces afpd to not create .AppleDouble unless a resource
87 fork needs to be created.
88
89 \fBnohex\fR - Disables :hex translations for anything except dot files.
90 This option makes the \fB/\fR character illegal.
91
92 \fBprodos\fR - Provides compatibility with Apple II clients.
93
94 \fBro\fR - Specifies the share as being read only for all users.
95
96 \fBusedots\fR - Don't do :hex translation for dot files. This makes all
97 files such as .Parent, .Apple* illegal. Dot files created on the server
98 side will be invisible to the client.
99
100 .TP
101 .B password:[password]
102 This option allows you to set a volume password, which can be a maximum
103 of 8 characters long.
104
105 .TP
106 .B rolist:[users/groups]
107 Allows certain users and groups to have read-only access to a share.
108 This follows the \fBallow\fR option format.
109
110 .TP
111 .B rwlist:[users/groups]
112 Allows certain users and groups to have read/write access to a share.
113 This follows the \fBallow\fR option format.
114
115 .P
116 The variables which can be used for subsitutions are:
117
118 .TP
119 .B $c
120 client's ip or appletalk address
121
122 .TP
123 .B $f
124 full name (contents of the gecos field in the passwd file)
125
126 .TP
127 .B $g
128 group name
129
130 .TP
131 .B $h
132 hostname
133
134 .TP
135 .B $s
136 server name (this can be the hostname)
137
138 .TP
139 .B $u
140 user name (if guest, it is the user that guest is running as)
141
142 .TP
143 .B $v
144 volume name (either ADEID_NAME or basename of path)
145
146 .TP
147 .B $z
148 appletalk zone (may not exist)
149
150 .TP
151 .B $$
152 prints dollar sign (\fb$\fR)
153
154 .SH SEE ALSO
155 afpd(8)