[Bug 235582] rpc_svc_gss / nfsd kernel panic
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 11 00:17:39 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235582
--- Comment #15 from Rick Macklem <rmacklem at FreeBSD.org> ---
Oops, I was wrong. (Maybe Heimdal just returned the principal name 10+
years ago, but no longer.)
If you look at (under your FreeBSD source tree):
crypto/heimdal/lib/gssapi/krb5/export_name.c
you'll see that it puts a bunch of junk in front of the principal
name. (It looks like it is always the same # of bytes, so for your case
I'd guess it's always 19bytes of junk.)
I'd guess that krb5_aname_to_localname() found in:
crypto/heimdal/lib/krb5/aname_to_localname.c
knows how to get rid of the junk, but that isn't callable from
the kernel, I'd guess? (I think the gssd daemon will only handle
a subset of the gss_XXX() calls.)
So, I don't think this is a bug and that leaves us with the crashes
due to a NULL cl_cname and I'm hoping they were caused by the race
fixed by the 2nd patch.
Good luck with it, rick
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list