NFSv4 (with Kerberos) on SCALE doesn't handle large Kerberos tickets

Description

In very large Active Directory environments a user may be part of 100s of groups. For example, I’m a member of 383 groups (we’re a university). Due to the large number of groups, and other data that AD stuffs into the Kerberos PAC field, the Kerberos ticket can be several KB in size. In my case, it’s about 5KB. Unfortunately, the Linux kernel’s NFS / rpc.svcgssd interface can only handle up to 2KB in size. Tickets larger than that, simply fail, resulting in permission denied errors. There is a solution, gssproxy, which has support within the Kernel. It can handle much larger Kerberos tickets.

gssproxy/NFS.md at main · gssapi/gssproxy · GitHub

rpcsec_gss support for kernel RPC servers — The Linux Kernel documentation

Problem/Justification

None

Impact

None

Activity

Show:

Automation for Jira July 19, 2023 at 1:50 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk July 15, 2023 at 12:57 AM

Andrew Walker May 13, 2023 at 1:02 PM

You should be able to reproduce without FreeIPA (using AD)

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created March 16, 2023 at 5:15 PM
Updated July 19, 2023 at 1:50 PM
Resolved July 19, 2023 at 1:50 PM