Files
Emanuel Helms 1771ab245c nfsuserd.c: Fix handling where pw_name/gr_name differ from lookup name
When an NSS backend returns a canonical pw_name or gr_name that differs from
the lookup name supplied by the NFSv4 upcall, nfsuserd stores the successful
mapping in the kernel cache under the canonical name instead of the requested
name.

This causes the retry lookup performed by nfsv4_strtouid() or
nfsv4_strtogid() to miss the newly inserted cache entry, resulting in the
default UID/GID being returned although the NSS lookup itself succeeded.

PR:	296753
Reviewed by:	rmacklem
Tested by:	Emanuel Helms <[email protected]>
MFC after:	2 weeks
2026-09-07 12:50:58 -07:00
..
…