nfs: add server port to rpc_pipe info file
Subsystems (3)
On the server side, when sending krb5 callbacks to the client, gssd needs to know the callback port.
Together with an nfs-utils patch, this also allows us to support krb5 mounts of servers using non-standard ports; currently if you specify an alternate server port on the commandline the mount fails.
I don't know whether appending an extra "port:" line here is the right approach, though. Comments?
Signed-off-by "J. Bruce Fields" <[email protected]>
Cc Olga Kornievskaia <[email protected]>
--- net/sunrpc/rpc_pipe.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
net/sunrpc/rpc_pipe.c +1 -0
@@ -329,6 +329,7 @@ rpc_show_info(struct seq_file *m, void *v) clnt->cl_prog, clnt->cl_vers);seq_printf (m,"address: %s\n" ,rpc_peeraddr2str (clnt,RPC_DISPLAY_ADDR ));seq_printf (m,"protocol: %s\n" ,rpc_peeraddr2str (clnt,RPC_DISPLAY_PROTO )); +seq_printf (m,"port: %s\n" ,rpc_peeraddr2str (clnt,RPC_DISPLAY_PORT ));return 0 ; }
Signature · 11 lines
1.5.3.rc4.67.gf9286 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs