Re: [PATCH 3/3] SUNRPC: Use AUTH_NULL for GETPORT/GETADDR requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-06-12 at 17:17 -0400, Chuck Lever wrote:
> On Jun 12, 2009, at 5:08 PM, Trond Myklebust wrote:
> 
> > On Fri, 2009-05-15 at 11:33 -0400, Chuck Lever wrote:
> >> rpcbind servers do not require RPC authentication, so AUTH_NULL is  
> >> all
> >> that is needed.  This saves a few bytes on the wire, and a bit of
> >> computational expense on both ends.
> >
> > This certainly isn't the case for all portmap implementations.
> 
> What implementations require AUTH_SYS ?  The libtirpc and glibc  
> rpcb_getaddr/pmap_getport implementations use NULL, as far as I can  
> tell.  libtirpc rpcb_set uses a local socket, which does local  
> authentication.  pmap_set in glib uses NULL, I think.

I just have a vague memory at the back of my head that the last time we
tried this, we had to revert the change because some portmapper variant
was rejecting it.

The right thing might be simply be to add a handler for the
AUTH_TOO_WEAK error.

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux