linux-sg2042/net/sunrpc/auth_gss
Wei Yongjun eac81736e6 sunrpc: reply AUTH_BADCRED to RPCSEC_GSS with unknown service
When an RPC message is received with RPCSEC_GSS with an unknown service
(not RPC_GSS_SVC_NONE, RPC_GSS_SVC_INTEGRITY, or RPC_GSS_SVC_PRIVACY),
svcauth_gss_accept() returns AUTH_BADCRED, but svcauth_gss_release()
subsequently drops the response entirely, discarding the error.

Fix that so the AUTH_BADCRED error is returned to the client.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-08-25 17:39:43 -04:00
..
Makefile gss_krb5: move gss_krb5_crypto into the krb5 module 2008-06-23 13:47:32 -04:00
auth_gss.c SUNRPC: Replace rpc_client->cl_dentry and cl_mnt, with a cl_path 2009-08-09 15:14:24 -04:00
gss_generic_token.c SUNRPC: rpcsec_gss modules should not be used by out-of-tree code 2008-12-23 15:21:32 -05:00
gss_krb5_crypto.c gss_krb5: move gss_krb5_crypto into the krb5 module 2008-06-23 13:47:32 -04:00
gss_krb5_mech.c SUNRPC: Use GFP_NOFS when allocating credentials 2008-07-09 12:08:48 -04:00
gss_krb5_seal.c gss_krb5: create a define for token header size and clean up ptr location 2008-06-23 13:47:25 -04:00
gss_krb5_seqnum.c gss_krb5: consistently use unsigned for seqnum 2008-04-23 16:13:41 -04:00
gss_krb5_unseal.c gss_krb5: create a define for token header size and clean up ptr location 2008-06-23 13:47:25 -04:00
gss_krb5_wrap.c gss_krb5: Use random value to initialize confounder 2008-06-23 13:47:38 -04:00
gss_mech_switch.c SUNRPC: rpcsec_gss modules should not be used by out-of-tree code 2008-12-23 15:21:32 -05:00
gss_spkm3_mech.c SUNRPC: Use GFP_NOFS when allocating credentials 2008-07-09 12:08:48 -04:00
gss_spkm3_seal.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_spkm3_token.c SUNRPC: Use GFP_NOFS when allocating credentials 2008-07-09 12:08:48 -04:00
gss_spkm3_unseal.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
svcauth_gss.c sunrpc: reply AUTH_BADCRED to RPCSEC_GSS with unknown service 2009-08-25 17:39:43 -04:00