Configuring IPA
3 minute read.
TrueNAS supports IPA (Identity, Policy, and Audit) as a comprehensive identity management solution. IPA integrates LDAP, Kerberos, NTP, and DNS services in a single package, providing centralized authentication and authorization for network resources.
You can have either Active Directory, LDAP, or IPA configured on TrueNAS but not multiple directory services simultaneously.
Configure TrueNAS to use an IPA directory server:
Go to Credentials > Directory Services and click Configure Directory Services to open the Directory Services Configuration form.
Select IPA as the Configuration Type.
Enter or select the Basic Configuration settings:
- Enable Service, selected by default, activates the IPA configuration. Clear the checkbox to disable the service.
- Enable Account Cache, selected by default, caches user and group information for improved performance. Clear the checkbox to disable.
- Enable DNS Updates, selected by default, allows the directory service to update DNS records. Clear the checkbox to disable.
- Enter the number of seconds (1-40 seconds) before the connection for directory services times out in Timeout (seconds).
- Enter the domain name in Kerberos Realm. This is usually the uppercase version of the domain name, e.g., EXAMPLE.COM.
Select the appropriate Credential Type for IPA authentication from the dropdown list. Options are Kerberos User or Kerberos Principal.
Enter or select the IPA Configuration settings:
- Enter the host name or IP address in Target Server.
- Enter the host name for your TrueNAS system in TrueNAS Hostname.
- Enter the Domain name.
- Enter the Base DN for the IPA directory.
- Select Validate Certificates to verify certificate authenticity when connecting to the IPA server.
Select Use Default SMB Domain Configuration to use default settings, or clear the checkbox to enter a name, the domain and range settings.
Click Save.
Clear the Enable Service checkbox to disable the IPA directory server. This does not remove the configuration. The main Directory Services screen returns to the default view showing the option to configure directory services.
Click Configure Directory Services to open the Directory Services Configuration form with the saved IPA configuration to enable IPA again. Select Enable Service again to reactivate your IPA directory server configuration.
Click Settings to open the IPA screen to remove the IPA configuration. Clear all settings and click Save.