aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorLevent Serinol <lserinol@gmail.com>2006-03-20 13:44:11 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:11 -0500
commit1356b8c28d67cafd74f7e7dcfb39bf53681790a5 (patch)
treed9139a8a6c672317363a4a15a3f7ef59bc494b7b /net/sunrpc
parent24bd68f46b1ad08d69bf32779f860df867780a7a (diff)
SUNRPC: more verbose output for rpc auth weak error
This patch adds server ip address to be printed out when "server requires stronger authentication" error occured. Signed-off-by: Levent Serinol <lserinol@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index a6d7c332dd49..cad7efe2cb22 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -1197,8 +1197,8 @@ call_verify(struct rpc_task *task)
1197 task->tk_action = call_bind; 1197 task->tk_action = call_bind;
1198 goto out_retry; 1198 goto out_retry;
1199 case RPC_AUTH_TOOWEAK: 1199 case RPC_AUTH_TOOWEAK:
1200 printk(KERN_NOTICE "call_verify: server requires stronger " 1200 printk(KERN_NOTICE "call_verify: server %s requires stronger "
1201 "authentication.\n"); 1201 "authentication.\n", task->tk_client->cl_server);
1202 break; 1202 break;
1203 default: 1203 default:
1204 printk(KERN_WARNING "call_verify: unknown auth error: %x\n", n); 1204 printk(KERN_WARNING "call_verify: unknown auth error: %x\n", n);