Specifications
64 Chapter 3 AFP Service
Disconnecting Idle Users Automatically
You can set AFP service to automatically disconnect users who have not used the
server for a period of time.
To set how the server handles idle users:
1 Open Server Admin and select AFP in the Computers & Services list.
2 Click Settings (near the bottom of the window), then click Idle Users.
3 To allow client computers to reconnect after sleeping for a certain time, select “Allow
clients to sleep __ hour(s)—will not show as idle” and type the number of hours clients
can sleep and still automatically reconnect to the server.
Although the server disconnects sleeping clients, the clients’ sessions are maintained
for the specified period. When a user resumes work within that time, the client is
reconnected with no apparent interruption.
4 To specify the idle time limit, select “Disconnect idle users after __ minutes” and type
the number of minutes after which an idle computer should be disconnected.
A sleeping Mac OS X version 10.2 (and later) client will be able to resume work on open
files within the limits of the “Allow clients to sleep” setting.
5 To prevent particular classes of users from being disconnected, select them under
“Except.”
6 In the “Disconnect Message” field, type the message you want users to see when they
are disconnected.
If you don’t type a message, a default message appears stating that the user has been
disconnected because the connection has been idle.
7 Click Save.
From the Command Line
You can also change the AFP service idle user settings using the serveradmin
command in Terminal. For more information, see the file services chapter of the
command-line administration guide.
Sending a Message to a User
You use Server Admin to send messages to clients using AFP service.
To send a user a message:
1 Open Server Admin and select AFP in the Computers & Services list.
2 Click Connections and select the user’s name in the list.
3 Click Send Message.
4 Type the message and click Send.
Note: This communication is one way; users cannot reply to the message received from
Server Admin.