RPC: Some portmappers expect AUTH_UNIX authentication Sun's RPC library portmap client therefore defaults to AUTH_UNIX. Change our in-kernel client to follow that convention. Signed-off-by: Trond Myklebust --- pmap_clnt.c | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) Index: linux-2.6.11-rc1/net/sunrpc/pmap_clnt.c =================================================================== --- linux-2.6.11-rc1.orig/net/sunrpc/pmap_clnt.c +++ linux-2.6.11-rc1/net/sunrpc/pmap_clnt.c @@ -3,9 +3,6 @@ * * Portmapper client. * - * FIXME: In a secure environment, we may want to use an authentication - * flavor other than AUTH_NULL. - * * Copyright (C) 1996, Olaf Kirch */ @@ -212,7 +209,7 @@ pmap_create(char *hostname, struct socka /* printk("pmap: create clnt\n"); */ clnt = rpc_create_client(xprt, hostname, &pmap_program, RPC_PMAP_VERSION, - RPC_AUTH_NULL); + RPC_AUTH_UNIX); if (IS_ERR(clnt)) { xprt_destroy(xprt); } else {