diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2005-06-22 17:16:23 +0000 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 16:07:16 -0400 |
commit | 438b6fdebf2a2e8573e7290bc176feb4d4475f43 (patch) | |
tree | 189a43902940dcb7a2e446ff5a74fbf0c2d22901 /net/sunrpc/auth_gss | |
parent | e50a1c2e1f816c81eed6a589019052cb44189267 (diff) | |
download | kernel_samsung_crespo-438b6fdebf2a2e8573e7290bc176feb4d4475f43.zip kernel_samsung_crespo-438b6fdebf2a2e8573e7290bc176feb4d4475f43.tar.gz kernel_samsung_crespo-438b6fdebf2a2e8573e7290bc176feb4d4475f43.tar.bz2 |
[PATCH] RPC: Don't fall back from krb5p to krb5i
We shouldn't be silently falling back from krb5p to krb5i.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss')
-rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index a33b627..7d88db8 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c @@ -675,9 +675,8 @@ gss_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor) goto err_free; } gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); - /* FIXME: Will go away once privacy support is merged in */ - if (gss_auth->service == RPC_GSS_SVC_PRIVACY) - gss_auth->service = RPC_GSS_SVC_INTEGRITY; + if (gss_auth->service == 0) + goto err_put_mech; INIT_LIST_HEAD(&gss_auth->upcalls); spin_lock_init(&gss_auth->lock); auth = &gss_auth->rpc_auth; |