All of lore.kernel.org
 help / color / mirror / Atom feed
* SETCLIENTID acceptor
@ 2018-05-09 21:19 Chuck Lever
  2018-05-10 17:40 ` Olga Kornievskaia
  2018-05-14 21:00 ` J. Bruce Fields
  0 siblings, 2 replies; 16+ messages in thread
From: Chuck Lever @ 2018-05-09 21:19 UTC (permalink / raw)
  To: Linux NFS Mailing List

I'm right on the edge of my understanding of how this all works.

I've re-keyed my NFS server. Now on my client, I'm seeing this on
vers=3D4.0,sec=3Dsys mounts:

May  8 16:40:30 manet kernel: NFS: NFSv4 callback contains invalid cred
May  8 16:40:30 manet kernel: NFS: NFSv4 callback contains invalid cred
May  8 16:40:30 manet kernel: NFS: NFSv4 callback contains invalid cred

manet is my client, and klimt is my server. I'm mounting with
NFS/RDMA, so I'm mounting hostname klimt.ib, not klimt.

Because the client is using krb5i for lease management, the server
is required to use krb5i for the callback channel (S 3.3.3 of RFC
7530).

After a SETCLIENTID, the client copies the acceptor from the GSS
context it set up, and uses that to check incoming callback
requests. I instrumented the client's SETCLIENTID proc, and I see
this:

check_gss_callback_principal: acceptor=3Dnfs@klimt.ib.1015granger.net, =
principal=3Dhost@klimt.1015granger.net

The principal strings are not equal, and that's why the client
believes the callback credential is bogus. Now I'm trying to
figure out whether it is the server's callback client or the
client's callback server that is misbehaving.

To me, the server's callback principal (host@klimt) seems like it
is correct. The client would identify as host@manet when making
calls to the server, for example, so I'd expect the server to
behave similarly when performing callbacks.

Can anyone shed more light on this?


--
Chuck Lever




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-05-14 21:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 21:19 SETCLIENTID acceptor Chuck Lever
2018-05-10 17:40 ` Olga Kornievskaia
2018-05-10 18:09   ` Chuck Lever
2018-05-10 19:07     ` Olga Kornievskaia
2018-05-10 19:23       ` Chuck Lever
2018-05-10 20:58         ` Olga Kornievskaia
2018-05-10 21:11           ` Chuck Lever
2018-05-10 21:34             ` Olga Kornievskaia
2018-05-11 14:34               ` Chuck Lever
2018-05-11 19:43                 ` Chuck Lever
2018-05-11 20:04                   ` Olga Kornievskaia
2018-05-11 20:57           ` Chuck Lever
2018-05-14 17:26             ` Olga Kornievskaia
2018-05-14 18:02               ` Chuck Lever
2018-05-14 21:07                 ` J. Bruce Fields
2018-05-14 21:00 ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.