Summary: 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 <[email protected]>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- linux-2.6.16-rc2/net/sunrpc/clnt.c.org 2006-02-10
10:17:01.000000000 +0200
+++ linux-2.6.16-rc2/net/sunrpc/clnt.c 2006-02-10 10:23:53.000000000 +0200
@@ -1193,8 +1193,8 @@ call_verify(struct rpc_task *task)
task->tk_action =3D 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_serv=
er);
break;
default:
printk(KERN_WARNING "call_verify: unknown auth
error: %x\n", n);
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--
Stay out of the road, if you want to grow old.
~ Pink Floyd ~.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
On Fri, 2006-02-10 at 11:50 +0200, Levent Serinol wrote:
> Summary: 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.
Your email program managed to badly mangle the patch itself, but I've
fixed it up and included it in the latest NFS_ALL.
Cheers,
Trond
> Signed-off-by: Levent Serinol <[email protected]>
>
> ==============================================
> --- linux-2.6.16-rc2/net/sunrpc/clnt.c.org 2006-02-10
> 10:17:01.000000000 +0200
> +++ linux-2.6.16-rc2/net/sunrpc/clnt.c 2006-02-10 10:23:53.000000000 +0200
> @@ -1193,8 +1193,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);
> ==============================================
>
>
>
>
> --
>
> Stay out of the road, if you want to grow old.
> ~ Pink Floyd ~.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs