Specifications

142 Chapter 9 Working with File Services
Changing AFP Settings
You can change AFP service settings using the serveradmin tool.
To change a setting:
$ sudo serveradmin settings afp:
setting
=
value
To change several settings:
$ sudo serveradmin settings
afp:
setting
=
value
afp:
setting
=
value
afp:
setting
=
value
[...]
Control-D
Available AFP Settings
The following table lists AFP settings as they appear using serveradmin.
Parameter Description
setting An AFP service setting. To see a list of available settings, enter
$ sudo serveradmin settings afp
or see “Available AFP Settings on page 142.
value An appropriate value for the setting. Enclose text strings in double
quotes (for example,
"text string").
Parameter (afp:) Description
activityLog Turn activity logging on or off.
Default =
no
activityLogPath
Location of the activity log file.
Default =
/Library/Logs/AppleFileService/
AppleFileServiceAccess.log
activityLogSize
Rollover size (in kilobytes) for the activity log. Used only if
activityLogTime isn’t specified.
Default =
1000
activityLogTime
Rollover time (in days) for the activity log.
Default =
7
admin31GetsSp
Set to yes to force administrator users on Mac OS X to see share
points instead of volumes.
Default =
yes
adminGetsSp
Set to yes to force administrator users on Mac OS 9 to see share
points instead of volumes.
Default =
no
afpServerEncoding
Encoding used with Mac OS 9 clients.
Default =
0
afpTCPPort
TCP port used by AFP on server.
Default =
548