Commit 1356b8c2 authored by Levent Serinol's avatar Levent Serinol Committed by Trond Myklebust
Browse files

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: default avatarLevent Serinol <lserinol@gmail.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 24bd68f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);