Trond Myklebust 98a8e32394 SUNRPC: Add a helper rpcauth_lookup_generic_cred()
The NFSv4 protocol allows clients to negotiate security protocols on the
fly in the case where an administrator on the server changes the export
settings and/or in the case where we may have a filesystem migration event.

Instead of having the NFS client code cache credentials that are tied to a
particular AUTH method it is therefore preferable to have a generic credential
that can be converted into whatever AUTH is in use by the RPC client when
the read/write/sillyrename/... is put on the wire.

We do this by means of the new "generic" credential, which basically just
caches the minimal information that is needed to look up an RPCSEC_GSS,
AUTH_SYS, or AUTH_NULL credential.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-03-14 13:42:49 -04:00
..
2008-02-20 16:15:44 -05:00
2008-02-20 16:15:44 -05:00
2008-01-30 02:06:02 -05:00
2008-02-20 16:15:44 -05:00
2008-03-08 11:49:24 -05:00
2006-03-20 13:44:48 -05:00
2008-02-14 21:13:33 -08:00
2007-03-16 19:25:05 -07:00