diff options
author | Scott Mayhew <smayhew@redhat.com> | 2019-09-09 23:10:31 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-09-10 16:26:33 +0300 |
commit | 6ee95d1c899186c0798cafd25998d436bcdb9618 (patch) | |
tree | bb09ebc1cd0334919aa8245f4fc8b1d486699709 /virt | |
parent | 11a60d159259dbadf9188534b508e5003769af61 (diff) | |
download | linux-6ee95d1c899186c0798cafd25998d436bcdb9618.tar.xz |
nfsd: add support for upcall version 2
Version 2 upcalls will allow the nfsd to include a hash of the kerberos
principal string in the Cld_Create upcall. If a principal is present in
the svc_cred, then the hash will be included in the Cld_Create upcall.
We attempt to use the svc_cred.cr_raw_principal (which is returned by
gssproxy) first, and then fall back to using the svc_cred.cr_principal
(which is returned by both gssproxy and rpc.svcgssd). Upon a subsequent
restart, the hash will be returned in the Cld_Gracestart downcall and
stored in the reclaim_str_hashtbl so it can be used when handling
reclaim opens.
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions