OSDN Git Service

SUNRPC: Use gssproxy upcall for server RPCGSS authentication.
authorSimo Sorce <simo@redhat.com>
Fri, 25 May 2012 22:09:56 +0000 (18:09 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 26 Apr 2013 15:41:28 +0000 (11:41 -0400)
commit030d794bf49855f5e2a9e8dfbfad34211d1eb08b
treeb92b6fecf0856d48d232f266d7ac7e2b0ff09a17
parent1d658336b05f8697d6445834f8867f8ad5e4f735
SUNRPC: Use gssproxy upcall for server RPCGSS authentication.

The main advantge of this new upcall mechanism is that it can handle
big tickets as seen in Kerberos implementations where tickets carry
authorization data like the MS-PAC buffer with AD or the Posix Authorization
Data being discussed in IETF on the krbwg working group.

The Gssproxy program is used to perform the accept_sec_context call on the
kernel's behalf. The code is changed to also pass the input buffer straight
to upcall mechanism to avoid allocating and copying many pages as tokens can
be as big (potentially more in future) as 64KiB.

Signed-off-by: Simo Sorce <simo@redhat.com>
[bfields: containerization, negotiation api]
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Documentation/filesystems/nfs/00-INDEX
Documentation/filesystems/nfs/rpc-server-gss.txt [new file with mode: 0644]
net/sunrpc/auth_gss/gss_rpc_upcall.c
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/netns.h