diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-03-12 16:21:07 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-03-14 13:42:41 -0400 |
commit | 5c691044ecbca04dd558fca4c754121689fe1b34 (patch) | |
tree | 7a56b63c44766fcca0d7ac245ce0e19077b6f118 /net/sunrpc/auth_gss/auth_gss.c | |
parent | 9a559efd4199c9812d339e23cc1b6055366b224f (diff) |
SUNRPC: Add an rpc_credop callback for binding a credential to an rpc_task
We need the ability to treat 'generic' creds specially, since they want to
bind instances of the auth cred instead of binding themselves.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/auth_gss.c')
-rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index ef6384961808..d34f6dfc7516 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c | |||
@@ -1300,6 +1300,7 @@ static const struct rpc_credops gss_credops = { | |||
1300 | .cr_name = "AUTH_GSS", | 1300 | .cr_name = "AUTH_GSS", |
1301 | .crdestroy = gss_destroy_cred, | 1301 | .crdestroy = gss_destroy_cred, |
1302 | .cr_init = gss_cred_init, | 1302 | .cr_init = gss_cred_init, |
1303 | .crbind = rpcauth_generic_bind_cred, | ||
1303 | .crmatch = gss_match, | 1304 | .crmatch = gss_match, |
1304 | .crmarshal = gss_marshal, | 1305 | .crmarshal = gss_marshal, |
1305 | .crrefresh = gss_refresh, | 1306 | .crrefresh = gss_refresh, |
@@ -1311,6 +1312,7 @@ static const struct rpc_credops gss_credops = { | |||
1311 | static const struct rpc_credops gss_nullops = { | 1312 | static const struct rpc_credops gss_nullops = { |
1312 | .cr_name = "AUTH_GSS", | 1313 | .cr_name = "AUTH_GSS", |
1313 | .crdestroy = gss_destroy_cred, | 1314 | .crdestroy = gss_destroy_cred, |
1315 | .crbind = rpcauth_generic_bind_cred, | ||
1314 | .crmatch = gss_match, | 1316 | .crmatch = gss_match, |
1315 | .crmarshal = gss_marshal, | 1317 | .crmarshal = gss_marshal, |
1316 | .crrefresh = gss_refresh_null, | 1318 | .crrefresh = gss_refresh_null, |