Specifications
6 To specify the idle time limit, select “Disconnect idle users after __ minutes” and
enter the number of minutes after which the AFP session of an idle connection is
disconnected.
To prevent specic types of users from being disconnected, select them under “Except.”
7 In the “Disconnect Message” eld, enter the message you want users to see when they
are disconnected.
If you don’t enter a message, a default message appears stating that the user has been
disconnected because the connection has been idle for a period of time.
8 Click Save.
From the command line:
To change AFP service Idle User settings: m
$ sudo serveradmin settings
afp:clientSleepOnOff = value
afp:clientSleepTime = value
afp:idleDisconnectOnOff = value
afp:idleDisconnectTime = value
afp:idleDisconnectFlag:guestUsers = value
afp:idleDisconnectFlag:adminUsers = value
afp:idleDisconnectFlag:registeredUsers = value
afp:idleDisconnectFlag:usersWithOpenFiles = value
afp:idleDisconnectMsg = "value"
Control-D
To view all AFP service settings: m
$ sudo serveradmin settings afp
Parameter Description
clientSleepOnOff
Allow client computers to sleep.
Default =
yes
clientSleepTime
Time (in hours) that clients are allowed to sleep.
Default =
24
idleDisconnectOnOff
Enable idle disconnect.
Default =
no
76 Chapter 4 Working with AFP Service