Get a Quote     (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

AFP Screen

  2 minute read.

Last Modified 2022-08-11 11:14 -0400

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

Name Description
Database Path The database information stored in the path. If the pool has read-only status, the path must still be writable.

Access

Name Description
Guest Account Select 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 Access Select to disable the password prompt that displays before clients access AFP shares.
Max Connections Maximum number of simultaneous connections permitted via AFP. The default limit is 50.
Chmod Request Indicates 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 ACLs Maps permissions for authenticated users. Select Rights (default, Unix-style permissions), None, or Mode (ACLs).

Other Options

Name Description
Log Level Record AFP service messages up to the specified log level in the system log. The system logs severe and warning level messages by default.
Bind Interfaces Specify 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 Auxiliary Additional afp.conf(5) parameters.

Related Content