SUNRPC: more verbose output for rpc auth weak error
authorLevent Serinol <lserinol@gmail.com>
Mon, 20 Mar 2006 18:44:11 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:11 +0000 (13:44 -0500)
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>
net/sunrpc/clnt.c

index a6d7c332dd49737f2bd6a4597ab4a090d23bf99c..cad7efe2cb225bd73d0e020004b4255ce99140ba 100644 (file)
@@ -1197,8 +1197,8 @@ call_verify(struct rpc_task *task)
                        task->tk_action = call_bind;
                        goto out_retry;
                case RPC_AUTH_TOOWEAK:
-                       printk(KERN_NOTICE "call_verify: server requires stronger "
-                              "authentication.\n");
+                       printk(KERN_NOTICE "call_verify: server %s requires stronger "
+                              "authentication.\n", task->tk_client->cl_server);
                        break;
                default:
                        printk(KERN_WARNING "call_verify: unknown auth error: %x\n", n);