Help with NFS + Kerberos Configuration on TrueNAS SCALE and FreeIPA

Hello everyone,

I’m currently setting up a FreeIPA server on RHEL 9 and have successfully added LDAP authentication on TrueNAS SCALE. So far, everything seems to be functioning correctly and when I run id $user in the terminal the user’s data appears as expected.

I’ve also configured NFS on TrueNAS SCALE and tested it without Kerberos, which worked perfectly. However, I’m encountering issues when trying to configure NFS with Kerberos. Specifically, I receive a “permission denied” error.

Here’s what I’ve done so far:

  • client is correctly configured with FreeIPA. I’ve tested this setup on both RHEL 9 and Fedora
  • attempted to mount NFS directly from the FreeIPA server, but this has not been successful
  • checked the keytab files, and they appear to be correct

Despite these efforts, I haven’t been able to resolve the issue.

Could someone recommend a straightforward how-to guide or provide any insights into what might be going wrong? I’ve spent several hours troubleshooting and would greatly appreciate any assistance.

Thank you very much in advance for your help!

Any luck on this? I’m digging into setting up Kerberos for NFS because VMware vSphere requires this for NFS 4.x shares. Right now I have it using NFS 3 but want to move up to the newer features and see if I get performance increases. And really because that’s what’s needed in a real enterprise, not just my lab.