Kerberos series. Previous: Configure a Kerberos Client on AlmaLinux 10. Earlier: Set Up an MIT Kerberos KDC, Create and Manage Kerberos Keytabs, Primary and Replica KDC. This post puts Kerberos to work protecting an NFS file share.
A normal NFS export trusts whatever user ID the client claims (sec=sys): anyone who can become root on a client, or just plug in a laptop with the right IP address, can read other people’s files by choosing their UID. With Kerberos security the server checks a ticket instead, and you can also have every NFS request integrity-protected or fully encrypted. This post builds that on AlmaLinux 10 (also RHEL, Rocky Linux, Oracle Linux and CentOS Stream 9 and 10) with an MIT Kerberos realm: the nfs/ service principal, the keytab, gssproxy on the server, rpc.gssd on the client, the sec=krb5, krb5i and krb5p options, key rotation and the errors you will meet.
The Kerberos half of this guide (KDC, principals, keytabs, gssproxy accepting a real ticket, key rotation and every error string quoted below) was run in a lab with the AlmaLinux 10 packages. The kernel NFS mount itself could not be run there; the “What was tested” section at the end says exactly what that means.
Lab layout used in this guide
| Machine | Name and address | Role |
|---|---|---|
| KDC | kdc1.example.com, 192.168.1.10 | MIT Kerberos KDC and kadmin, realm EXAMPLE.COM (from the first post of the series) |
| NFS server | nfs1.example.com, 192.168.1.30 | AlmaLinux 10, exports /srv/nfs/secure |
| NFS client | client1.example.com, 192.168.1.40 | AlmaLinux 10, mounts it on /mnt/secure |
| User | jdoe (principal jdoe@EXAMPLE.COM) | Same login name and UID on server and client (for example from LDAP and SSSD, or local accounts) |
Replace these with your own names everywhere they appear.
How Kerberos NFS works
- Server side. The server needs a service principal
nfs/nfs1.example.com@EXAMPLE.COMand its key in/etc/krb5.keytab. The kernel NFS server does not read the keytab itself; it asks a user-space helper to validate tickets. On current Red Hat family systems that helper is gssproxy. The oldrpc.svcgssddaemon is not in the AlmaLinux 10nfs-utilspackage (it containsrpc.gssdbut norpc.svcgssd), so there is nothing else to install. - Client side. The kernel client asks rpc.gssd to set up a security context. For a normal user,
rpc.gssduses that user’s credential cache (the ticket you get fromkinitor from a Kerberos login). For root, and for NFSv4 housekeeping that is not tied to a user, it uses the machine credential from the client’s own keytab. So the client needs a principal in its keytab too, normallyhost/client1.example.com. - Which keytab entry the client picks. The
rpc.gssd(8)man page lists the search order in/etc/krb5.keytab:<HOSTNAME>$@REALM(Samba-joined hosts),root/hostname,nfs/hostname,host/hostname, and then the same three with any host name. The “any name” fallback lets one keytab serve many hosts but the man page advises against sharing a principal between machines.
The three Kerberos flavours differ in what they protect:
| Mount option | Authentication | Integrity of each request | Encryption of data on the wire | Cost |
|---|---|---|---|---|
sec=sys (default) | None: the client’s UID is trusted | No | No | Lowest |
sec=krb5 | Kerberos | No | No | Low |
sec=krb5i | Kerberos | Yes (checksums) | No | Medium |
sec=krb5p | Kerberos | Yes | Yes (privacy) | Highest; the nfs(5) man page says to expect a performance impact |
krb5 proves who is asking but does not stop someone on the network from altering or reading the traffic. If you are protecting data in transit as well, use krb5p; use krb5i when integrity is enough and CPU is tight.
Prerequisites
- A working MIT Kerberos KDC (post 1), admin access to it and a client configured as in Configure a Kerberos Client.
- Forward and reverse DNS (or matching
/etc/hostsentries) fornfs1.example.comandclient1.example.com. The name you type inmountmust be the name in the principal: the client builds the service namenfs@nfs1.example.comfrom it. - Clocks within 5 minutes on all machines (chrony). Kerberos rejects tickets otherwise.
- Ports: 88/tcp+udp to the KDC from both machines; 2049/tcp to the NFS server from the client. With NFSv4 only, that is the only NFS port (
rpcbindandmountdare not needed by clients). - The kernel must support the Kerberos encryption types in the keytab. The RFC 8009 types
aes256-cts-hmac-sha384-192andaes128-cts-hmac-sha256-128arrived in Linux 6.3, and Red Hat added them in the RHEL 9 kernel 5.14.0-306.el9 (Red Hat Bugzilla 2178741), and EL10 builds on that kernel line, but confirm with the file below. Check on the server withcat /proc/fs/nfsd/supported_krb5_enctypes: it prints numbers, where 20 and 19 are the two SHA-2 AES types and 18 and 17 areaes256-cts-hmac-sha1-96andaes128-cts-hmac-sha1-96.
Step 1: Create the principals on the KDC
Service principals use random keys because nobody ever types their password. On the KDC (or with kadmin as an admin from anywhere):
kadmin.local -q 'addprinc -randkey nfs/nfs1.example.com'
kadmin.local -q 'addprinc -randkey host/client1.example.com'
Principal "nfs/nfs1.example.com@EXAMPLE.COM" created.
Principal "host/client1.example.com@EXAMPLE.COM" created.
Notes: with default_principal_flags = +preauth (post 1) the new principals show Attributes: REQUIRES_PRE_AUTH. The principal name is service/fully-qualified-host in lower case; the client derives it from the server name used in the mount command. If the NFS server is also an NFS client of other servers, give it a host/ principal too. mitlist lists principals by type if you want to review what exists.
Step 2: Put the keys into each keytab
Extract each key on the machine that will use it, with kadmin and your admin principal, so the key never travels in a file. On nfs1:
sudo dnf install -y nfs-utils gssproxy krb5-workstation
sudo kadmin -p admin/admin -q 'ktadd nfs/nfs1.example.com'
Without -k, ktadd writes to the default /etc/krb5.keytab and appends, so an existing host/ entry for SSH stays. In the lab the output was (four entries because kdc.conf lists four supported_enctypes):
Entry for principal nfs/nfs1.example.com with kvno 2, encryption type aes256-cts-hmac-sha384-192 added to keytab WRFILE:/workspace/catchup1126/krb/lab/nfs1.keytab.
Entry for principal nfs/nfs1.example.com with kvno 2, encryption type aes128-cts-hmac-sha256-128 added to keytab WRFILE:/workspace/catchup1126/krb/lab/nfs1.keytab.
Entry for principal nfs/nfs1.example.com with kvno 2, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:/workspace/catchup1126/krb/lab/nfs1.keytab.
Entry for principal nfs/nfs1.example.com with kvno 2, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:/workspace/catchup1126/krb/lab/nfs1.keytab.
(The path is the lab’s; on your server it reads WRFILE:/etc/krb5.keytab.) Note that the key version number is already 2: addprinc -randkey creates version 1 and ktadd generates a new random key, which becomes version 2. That is normal. To limit the key types, for example to the two SHA-2 types for a FIPS system, name them with -e; the lab tried it for the client:
kadmin -p admin/admin -q 'ktadd -e aes256-cts-hmac-sha384-192:normal,aes128-cts-hmac-sha256-128:normal host/client1.example.com'
Entry for principal host/client1.example.com with kvno 2, encryption type aes256-cts-hmac-sha384-192 added to keytab WRFILE:/workspace/catchup1126/krb/lab/client1.keytab.
Entry for principal host/client1.example.com with kvno 2, encryption type aes128-cts-hmac-sha256-128 added to keytab WRFILE:/workspace/catchup1126/krb/lab/client1.keytab.
Run that last command on client1 (with nfs-utils and krb5-workstation installed there: sudo dnf install -y nfs-utils krb5-workstation). Then on both machines lock the file down and fix the SELinux label:
sudo chown root:root /etc/krb5.keytab
sudo chmod 600 /etc/krb5.keytab
sudo restorecon -v /etc/krb5.keytab
sudo klist -ke /etc/krb5.keytab
Keytab name: FILE:nfs1.keytab
KVNO Principal
---- --------------------------------------------------------------------------
2 nfs/nfs1.example.com@EXAMPLE.COM (aes256-cts-hmac-sha384-192)
2 nfs/nfs1.example.com@EXAMPLE.COM (aes128-cts-hmac-sha256-128)
2 nfs/nfs1.example.com@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
2 nfs/nfs1.example.com@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
Prove the client key works before involving NFS: kinit -k logs in with the keytab, and kvno asks the KDC for a ticket to the NFS service. This is the result from the lab (run as the client’s host principal; the keytab file name in a real system is /etc/krb5.keytab, which kinit -k uses by default):
kinit -k -t client1.keytab host/client1.example.com
klist
Default principal: host/client1.example.com@EXAMPLE.COM
Valid starting Expires Service principal
11/26/26 02:37:33 11/27/26 02:37:33 krbtgt/EXAMPLE.COM@EXAMPLE.COM
kvno nfs/nfs1.example.com
nfs/nfs1.example.com@EXAMPLE.COM: kvno = 2
The key version printed by kvno has to match one in the server’s keytab, and that matters when you rotate keys (see below). The keytab post covers ktutil and more keytab handling.
Step 3: Configure gssproxy on the server
The AlmaLinux 10 gssproxy package already ships what the NFS server needs. It is in /etc/gssproxy/24-nfs-server.conf:
[service/nfs-server]
mechs = krb5
socket = /run/gssproxy.sock
cred_store = keytab:/etc/krb5.keytab
trusted = yes
kernel_nfsd = yes
euid = 0
| Setting | Meaning (from gssproxy.conf(5)) |
|---|---|
euid = 0 | The service is identified by the effective UID of the process that connects (root for the kernel NFS server). A section without euid is discarded |
cred_store = keytab:/etc/krb5.keytab | Where the service’s keys live. This is the only line you would change for a different keytab |
kernel_nfsd = yes | Lets the kernel check that gssproxy is running through /proc/net/rpc/use-gss-proxy; the kernel then sends GSS requests to it |
socket | The per-service socket the NFS server talks to |
mechs = krb5 | Only the Kerberos mechanism |
Start it (the unit and the NFS server unit order themselves correctly: nfs-server.service starts after gssproxy.service and reloads it when it starts):
sudo systemctl enable --now gssproxy
sudo systemctl status gssproxy
# after nfs-server is running:
cat /proc/net/rpc/use-gss-proxy
The last file should read 1 when the kernel is using gssproxy (the file is the one named in the man page; its content was not checked in the lab because it needs the kernel NFS server).
Two unit-file facts from the package (read from /usr/lib/systemd/system): rpc-gssd.service and auth-rpcgss-module.service both carry ConditionPathExists=/etc/krb5.keytab. If the keytab does not exist, they are skipped without an error, and Kerberos NFS silently does not work. The Red Hat documentation says the same: rpc-gssd starts at boot if /etc/krb5.keytab is present.
What the lab proved about gssproxy
The kernel part cannot run unprivileged, but gssproxy itself can: the lab ran the packaged gssproxy 0.9.2 with the same kind of service section (a socket under the lab directory, kernel_nfsd = no, euid = 0, the lab keytab), had jdoe create a GSS token for nfs@nfs1.example.com with a normal Kerberos ticket, and let a small GSS-API test program ask gssproxy to accept it. The program had no access to a keytab of its own (KRB5_KTNAME=FILE:/nonexistent):
init: token 816 bytes, status CONTINUE_NEEDED
accept: client authenticated as jdoe@EXAMPLE.COM (integ=1 conf=1 mutual=1)
That is the same job the kernel hands to gssproxy for every new NFS client context: the key was used inside gssproxy, the client was identified as jdoe@EXAMPLE.COM, and integrity and confidentiality were available on the context. Without gssproxy and without a keytab the same accept fails at once:
acquire_cred: Key table file '/nonexistent' not found
A second accept of the same token was refused, which is the replay cache doing its job:
accept_sec_context: Request is a replay
And asking for a name that is not in the keytab fails when the credential is acquired:
acquire_cred: No key table entry found matching nfs/other.example.com@
Step 4: Export the share
Create the directory and export it. The sec= list restricts the export to the listed flavours, preferred flavour first (exports(5)):
sudo mkdir -p /srv/nfs/secure
sudo chown root:root /srv/nfs/secure
sudo chmod 1777 /srv/nfs/secure # lab-style shared directory; use real ownership in production
# /etc/exports
/srv/nfs/secure client1.example.com(rw,sync,sec=krb5p)
To allow krb5i as well, use sec=krb5p:krb5i. Do not list sys on a share that must be protected: sec=sys means any client user ID is trusted. The man page also allows several sec= options in one entry, with the options after each applying to those flavours only (only ro, rw, root_squash, no_root_squash and all_squash may differ), which lets you give krb5p clients rw and krb5 clients ro.
A server nfs.conf for an NFSv4-only server follows. The lab parsed these files with nfsconf --file ... --dump to confirm the syntax; the daemons were not started:
# /etc/nfs.conf.d/10-secure.conf (or edit /etc/nfs.conf)
[nfsd]
vers3=n
vers4=y
vers4.0=n
[gssd]
verbosity=1
nfsconf --file nfs.conf.server --dump
[gssd]
verbosity = 1
[nfsd]
vers3 = n
vers4 = y
vers4.0 = n
Turning NFSv3 off means clients cannot use the older protocol and its extra ports. Skip the lines if you still need v3. Then open the port and start the services:
sudo firewall-cmd --permanent --add-service=nfs
sudo firewall-cmd --reload
sudo systemctl enable --now nfs-server
sudo exportfs -rav
sudo exportfs -v
exportfs -v shows the effective options of each export, including sec=.
Step 5: Mount it on the client
On client1 the keytab from step 2 is in place, so rpc-gssd starts by itself. Make sure of it and mount:
sudo systemctl enable --now rpc-gssd
sudo mkdir -p /mnt/secure
sudo mount -t nfs4 -o sec=krb5p nfs1.example.com:/srv/nfs/secure /mnt/secure
To make it permanent, add a line to /etc/fstab; the nfs(5) man page has an example with sec=krb5p:krb5i in the options, which means “try krb5p, fall back to krb5i“:
nfs1.example.com:/srv/nfs/secure /mnt/secure nfs4 sec=krb5p,_netdev 0 0
- Use the exact, fully qualified name of the server. The service name is built from it. The
rpc.gssdman page says a reverse DNS lookup is only done for a name without dots or an IP address; the-Doption forces it, and the man page recommends against-Dbecause it can introduce a security vulnerability. Mounting by IP address therefore makes the client guess the name through reverse DNS, which can produce a different name than the one in your principal. Avoid it. - An alias (a CNAME) is another trap: the principal has to exist for the name that the client asks for. The lab asked the KDC for a ticket to a name that was not a principal:
kvno: Server nfs/nfs-alias.example.com@EXAMPLE.COM not found in Kerberos database. Mount with the canonical name or create a principal for the alias and add its key to the server keytab. - Without
sec=inmount, the client tries to find a flavour that both sides support. If the export only allows Kerberos flavours and you requestsec=sys, the mount fails.
Step 6: Use it as a user
A user needs a Kerberos ticket. A normal login through SSSD with Kerberos (as in the client post) provides one; otherwise run kinit by hand:
kinit jdoe
cd /mnt/secure
touch hello.txt
ls -l hello.txt
klist
The klist output now includes a service ticket for nfs/nfs1.example.com@EXAMPLE.COM. A user without a valid ticket cannot access files as that user; NFS then answers with a permission error rather than letting the client’s UID through. (The exact message was not captured here.) Root is a special case: by default rpc.gssd uses the machine credential for UID 0, so root on the client acts as the client machine, and the server still applies its root_squash setting. With the -n option, root has to authenticate with its own ticket instead.
Ticket cache location. The default Red Hat family cache is KEYRING:persistent:%{uid}. I did not test rpc.gssd with it, and reports from other distributions say their rpc.gssd could not read kernel keyrings. If users have a ticket (klist) and the share still refuses them, check klist against the cache type, and as a workaround set default_ccache_name = FILE:/tmp/krb5cc_%{uid} in the [libdefaults] section. This was not needed or tested here.
Ticket lifetime. When a user’s ticket expires, access stops and a new kinit (or a renewal) restores it. Long-running jobs and cron jobs therefore need their own keytab or a renewal method; the keytab post shows how to authenticate a script with kinit -k.
User names. NFSv4 transmits owners as user@domain. rpc.idmapd and nfsidmap use /etc/idmapd.conf: the Domain must be the same on both machines (default: the host’s DNS domain), and a principal jdoe@EXAMPLE.COM maps to the local user jdoe when the realm is the host’s default realm or is listed in Local-Realms. The default Method is nsswitch, so the user must be resolvable on the server (for example through SSSD).
Verify
# on the client
mount | grep /mnt/secure
nfsstat -m
sudo klist -ke /etc/krb5.keytab
systemctl status rpc-gssd
kvno nfs/nfs1.example.com
# on the server
sudo exportfs -v
systemctl status gssproxy nfs-server
cat /proc/fs/nfsd/supported_krb5_enctypes
In mount and nfsstat -m output look for sec=krb5p among the options. For a deeper check, run rpc.gssd in the foreground with debug output (-f, -v and -r are documented in the man page) in place of the service while you test a mount:
sudo systemctl stop rpc-gssd
sudo rpc.gssd -f -vvv -rrr
The daemon prints each upcall, the credential it chooses (user cache or machine keytab) and the reason for any failure. Stop it with Ctrl+C and start the service again. On the server, run gssproxy with debugging, gssproxy -i -d (--debug-level=3 adds the Kerberos trace), instead of the unit when you need to see its side.
Rotating the NFS service key
Change the nfs/ key from time to time and whenever the keytab may have leaked. Order matters because clients hold service tickets encrypted with the old key (until their ticket lifetime ends, 24 hours with the defaults in this series). If you delete the old key at once, those clients fail. The lab tested the full sequence against a running gssproxy, without restarting it. The keytab post has the general procedure; for NFS:
- Run
ktaddfor the principal again on the server. It generates a new key with the next version and adds it to the keytab, keeping the old one. - Wait for old tickets to expire (at least
max_lifeof the realm, 24 hours here), then remove the old version withktremove.
kadmin.local -q 'ktadd -k nfs1.keytab -e aes256-cts-hmac-sha384-192:normal,aes128-cts-hmac-sha256-128:normal nfs/nfs1.example.com'
klist -ke nfs1.keytab
9 nfs/nfs1.example.com@EXAMPLE.COM (aes256-cts-hmac-sha384-192)
9 nfs/nfs1.example.com@EXAMPLE.COM (aes128-cts-hmac-sha256-128)
10 nfs/nfs1.example.com@EXAMPLE.COM (aes256-cts-hmac-sha384-192)
10 nfs/nfs1.example.com@EXAMPLE.COM (aes128-cts-hmac-sha256-128)
(The versions 9 and 10 are what the lab happened to reach after earlier tests; yours will be small numbers.) With both versions in the keytab, a client holding a ticket for the old version was still accepted by gssproxy. Then the old key was removed:
kadmin.local -q 'ktremove -k nfs1.keytab nfs/nfs1.example.com old'
Entry for principal nfs/nfs1.example.com with kvno 9 removed from keytab WRFILE:.../nfs1.keytab.
Entry for principal nfs/nfs1.example.com with kvno 9 removed from keytab WRFILE:.../nfs1.keytab.
A client that still held the old ticket was then refused, exactly as a real client with an unexpired ticket would be:
accept_sec_context: Request ticket server nfs/nfs1.example.com@EXAMPLE.COM kvno 9 not found in keytab; ticket is likely out of date
After the user (or the machine) obtained a new ticket with the new key (the lab destroyed the ticket cache and ran kinit again), gssproxy accepted it, again with no restart. gssproxy picked up the changed keytab on its own in this lab. Reloading it after a key change is harmless (systemctl reload gssproxy; the package’s nfs-server.service does this itself when the NFS server starts).
Remember that ktadd writes the keytab on the machine where you run it: on the KDC with kadmin.local that is the KDC, so copy the file securely to the server, or run kadmin ktadd on the server. Anyone who has the keytab can impersonate your NFS server, so treat it like a private key.
Troubleshooting
Messages marked with * come from the documentation and were not reproduced in the lab; the others were.
| Symptom or message | Cause | Fix |
|---|---|---|
mount.nfs: ... access denied by server or the mount hangs when you ask for sec=krb5p * | No usable nfs/ key on the server (gssproxy stopped, keytab empty), or the export does not allow that flavour | systemctl status gssproxy, klist -ke /etc/krb5.keytab on the server, exportfs -v |
Kerberos NFS does nothing; rpc-gssd is “inactive (dead)” with a condition message | /etc/krb5.keytab does not exist on the client (ConditionPathExists) | Create the host keytab (step 2); systemctl restart rpc-gssd |
kvno: Server nfs/<name>@EXAMPLE.COM not found in Kerberos database | The principal for the name the client uses does not exist (alias, short name, IP address) | Mount with the canonical FQDN, or create the principal and add its key to the server keytab |
acquire_cred: No key table entry found matching nfs/<name>@ | The server keytab has no key for that service name | klist -ke; add the principal with ktadd |
acquire_cred: Key table file ... not found | Wrong keytab path or missing file (for gssproxy: the cred_store = keytab: line) | Fix the path; restore SELinux labels with restorecon |
Request ticket server nfs/...@EXAMPLE.COM kvno N not found in keytab; ticket is likely out of date | The key version used by the ticket was removed from the keytab | Keep the old version until tickets expire; the user runs kinit again; see key rotation |
Request is a replay | The same authenticator was presented twice (a retransmitted request, or the same token replayed) | Usually harmless (a repeated request); if it keeps happening, check time sync |
Clock skew too great * | More than 5 minutes difference between client, server and KDC | Fix chrony on all three |
User cannot access files although the mount works, no ticket in klist | The user has no Kerberos ticket (or the cache type is not readable by rpc.gssd) | kinit; see the ticket cache note in step 6 |
| Mount works for root only | Machine credential works, the user ticket does not reach rpc.gssd | Same as above; run rpc.gssd -f -vvv -rrr |
| Mount fails with older servers or clients * | No common Kerberos encryption type; for example a very old kernel without the SHA-2 types, or a keytab with only SHA-2 keys | Add an AES-SHA1 key to the keytab; allowed-enctypes in the [gssd] section of nfs.conf restricts what rpc.gssd offers; check /proc/fs/nfsd/supported_krb5_enctypes |
Files show owner nobody * | NFSv4 ID mapping does not resolve the user or the domains differ | Same Domain in idmapd.conf on both, user resolvable on both (SSSD), nfsidmap -c to clear the cache |
For hangs after a server restart, stale handles and similar problems that are not about Kerberos, see Troubleshoot Stuck and Hung NFS Mounts.
Security notes
- krb5 alone does not encrypt. Use
krb5pwhenever file contents cross a network you do not control. - Do not leave
sysin thesec=list of a protected export, and do not export the same path twice with different flavours unless you mean it. - Protect the keytab (
0600, root). It is the identity of the file server. - Time sync and DNS are part of the security. A wrong or spoofable name is a wrong service principal.
- Keep
root_squash(the default) unless you have a specific reason; Kerberos identifies users, not trust in client root. - Do not use
rpc.gssd -D, as discussed above.
What was tested and what was not
Tested with the AlmaLinux 10 packages (krb5-server 1.21.3, gssproxy 0.9.2, nfs-utils 2.8.3, run unprivileged on a test machine with a private KDC on a high port, no systemd): realm and database creation; addprinc -randkey; ktadd with default and explicit key types; klist -ke; kinit -k; kvno; the KDC error for an unknown service name; gssproxy accepting a real Kerberos ticket for nfs@nfs1.example.com using only its own keytab; the error strings for a missing keytab, a missing key, a replayed token and a removed key version; the key rotation sequence, including that gssproxy did not need a restart; and nfsconf parsing of the example nfs.conf files. The default 24-nfs-server.conf, the unit files and the man pages quoted above are the ones from the packages.
Not tested: a real kernel NFS export and mount (needs root and the NFS kernel modules); exportfs, rpc.gssd and rpc.idmapd running; the actual sec=krb5, krb5i and krb5p behaviour on the wire and their message strings; the error text for a user without a ticket; SELinux denials and booleans; firewalld rules; the dnf installs and the systemd units starting; the kernel reading /proc/net/rpc/use-gss-proxy; KEYRING credential caches with rpc.gssd; ID mapping through idmapd.conf; EL9 differences. The kernel encryption type support statement comes from the Linux commit history and Red Hat Bugzilla 2178741, not from a test on your hardware. Test the whole chain on a lab pair before you depend on it.
Where to go next
You now have an NFS share where the server checks a ticket for each user and, with krb5p, nothing readable crosses the wire. For a production setup, add a replica KDC (post 3) so NFS does not depend on a single KDC, put keytab rotation on a schedule, and keep the troubleshooting list above next to your runbook.
