TrueNAS CORETrueNAS CORE Nightly Development Documentation
This content follows experimental early release software. Use the Product and Version selectors above to view content specific to a stable software release.

AFP Screen

The Apple Filing Protocol (AFP) is a network protocol that allows file sharing over a network. It is like SMB and NFS, but it is for Apple systems.

Apple began using the SMB sharing protocol as the default option for file sharing in 2013. At that time Apple ceased development of the AFP sharing protocol. The recommendation is to use SMB sharing instead of AFP. AFP sharing is still used if files are being shared with legacy Apple products. Please see https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/APFS_Guide/FAQ/FAQ.html

Use the Services AFP screen to configure Apple Filing Protocol (AFP) service on your TrueNAS.

Services AFP Edit

Click SAVE to save settings.

Click CANCEL to exit without saving and return to the Services screen.

General Option

NameDescription
Database PathThe database information stored in the path. If the pool has read-only status, the path must still be writable.

Access

NameDescription
Guest AccountSelect an account to use for guest access. This account must have permissions to the shared pool or dataset. Any client connecting to the guest service has the privileges of the guest account user. This user must exist in the password file, but does not need a valid login. Root user cannot be the guest account.
Guest AccessSelect to disable the password prompt that displays before clients access AFP shares.
Max ConnectionsMaximum number of simultaneous connections permitted via AFP. The default limit is 50.
Chmod RequestIndicates how to handle access control lists. Select Ignore to disregard requests. Selecting Ignore also gives the parent directory ACL inheritance full control over new items. Select Preserve to preserve ZFS ACEs for named users and groups or the POSIX ACL group mask. Select Simple to configure chmod() as requested without any extra steps.
Map ACLsMaps permissions for authenticated users. Select Rights (default, Unix-style permissions), None, or Mode (ACLs).

Other Options

NameDescription
Log LevelRecord AFP service messages up to the specified log level in the system log. The system logs severe and warning level messages by default.
Bind InterfacesSpecify the IP addresses to listen for AFP connections. Leave blank to bind to all available IPs. If no IP addresses specified, advertise the first IP address of the system. If no IP addresses specified, listen for any incoming request.
Global AuxiliaryAdditional afp.conf(5) parameters.