136

Disabling a Share Point

To disable a share point:

$ sharing -rsharepointname

ParameterDescription

sharepointname

The current name of the share point.

Managing the AFP Service

Apple Filing Protocol (AFP) allows any Mac OS X computer to access shared folders on the server. Mac OS X Server uses Bonjour to provide automatic discovery of AFP file services, and shared disks don’t unmount after extended periods of inactivity.

Starting and Stopping AFP Service

To start AFP service:

$ sudo serveradmin start afp

To stop AFP service:

$ sudo serveradmin stop afp

Checking AFP Service Status

To see if AFP service is running:

$ sudo serveradmin status afp

To see complete AFP status:

$ sudo serveradmin fullstatus afp

Viewing AFP Settings

To list all AFP service settings:

$ sudo serveradmin settings afp

To list a particular setting:

$ sudo serveradmin settings afp setting

Parameter

Description

setting

Any of the AFP service settings. For a complete list of settings,

 

enter $ sudo serveradmin settings afp

 

or see “List of AFP Settings” on page 137.

 

 

To list a group of settings:

You can list a group of settings that have part of their names in common by typing only as much of the name as you want, stopping at a colon (:), and typing an asterisk (*) as a wildcard for the remaining parts of the name. For example:

$ sudo serveradmin settings afp:loggingAttributes:*

Chapter 9 Working with File Services

Page 136
Image 136
Apple Mac OS X Server manual Managing the AFP Service, Disabling a Share Point, Starting and Stopping AFP Service