Skip to contentSkip to conversation

more verbose output for rpc auth weak error

PATCH In review Levent Serinol 2 participants 2 messages Feb 10, 2006 – Feb 23, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 more verbose output for rpc auth weak error

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.

=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

#1 lore raw
Quoted 4 lines · Levent Serinol

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

Quoted 25 lines

==============================================
--- 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

(quoted diff) +0 -1
@@ -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 "

(quoted diff) +1 -1
-                              "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);
==============================================

Quoted 4 lines

--

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