Skip to end of metadata
Go to start of metadata

Compatibility Table

Guest-only access compatibility.  Authenticated access is much more problematic due to changing auth mech support in both servers and clients.  Contributors should feel free to fill in missing information, and/or add auth mech support listings for clients and servers.

ServerSystem 6System 7OS910.
System 7✔︎✔︎✔︎
10.0✔︎(1)✔︎(1)✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎ ✔︎ ✔︎✔︎
10.2✔︎(1)(2)✔︎(1)(2)✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎ ✔︎
10.3  ✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎
10.6 ✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎
10.7 ✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎
10.8 ✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎
netatalk 2.2.x✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎
netatalk 3.x✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎✔︎

(1) Server must be configured to use AppleTalk.  AppleTalk for AFP is disabled by default.

(2) Clients can read and write, although creating directories reports failure despite succeeding.  After the failure, the directory will exist, and can be written to, although this makes copying folder hierarchies from legacy clients problematic.

10.7 and later clients may require enabling non-default authentication mechanisms:


Configuring 10.0 - 10.2 for AFP Serving

There are two parts to configuring OSX for AFP sharing.  First is the file server its self, then the sharepoints.

AppleFileServer Configuration

In OSX 10.0 through 10.2, the AppleFileServer's configuration lives in NetInfo.  nicl is the command line tool to edit NetInfo.

To view AppleFileServer's current configuration:

nicl . -read /config/AppleFileServer

To enable AppleTalk for AFP:

sudo nicl . -delete /config/AppleFileServer use_appletalk
sudo nicl . -create /config/AppleFileServer use_appletalk 1

When done configuring AppleFileServer, it needs to be restarted.  The two easiest ways to do this are to reboot, or use the System Preferences Sharing PrefPane to disable and then re-enable File Sharing.

In 10.4 and later, the AppleFileServer configuration resides in /Library/Preferences/

SharePoint Configuration

In OSX 10.0 through 10.2, the SharePoint configuration also lives in NetInfo.

To get a list of the current SharePoints:

nicl . -list /config/SharePoints

56         archive

To view the configuration of a sharepoint:

[xserveg4:/Volumes/One/archive] bbraun% nicl . -read /config/SharePoints/archive
name: archive
afp_name: archive
directory_path: /Volumes/One/archive
afp_use_parent_owner: 0
afp_use_parent_privs: 0
afp_shared: 1
afp_guestaccess: 1

To create a new SharePoint:

sudo nicl . -create /config/SharePoints/newshare
sudo nicl . -create /config/SharePoints/newshare afp_name newshare
sudo nicl . -create /config/SharePoints/newshare directory_path /Volumes/newshare
sudo nicl . -create /config/SharePoints/newshare afp_use_parent_owner 0
sudo nicl . -create /config/SharePoints/newshare afp_use_parent_privs 0
sudo nicl . -create /config/SharePoints/newshare afp_shared 1
sudo nicl . -create /config/SharePoints/newshare afp_guestaccess 1

The AppleFileServer may need to be restarted after changing SharePoints.

Connecting OS9 to 10.6 and Later Servers

10.5 was the last release to support OS9 clients.  However, if you copy the /usr/sbin/AppleFileServer binary from a 10.5 system to a later system (all the way to 10.10), it will continue to work just like it did on 10.5, allowing OS9 clients to connect to later machines.

  • None