[PATCH 0/2] nfs: allow NFSv3 to fall back to AUTH_UNIX if initial auth selection fails

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

 



I got a report of a regression in recent kernels. Windows 2012 servers
support v3 and v4.1. They also return a list of authflavors that starts
with AUTH_GSS flavors and ends with AUTH_SYS.

Since commit 4580a92 (NFS: Use server-recommended security flavor by
default (NFSv3)) mounting this server with nfsv3 fails unless you
specify sec=sys.

NFSv4.0 has code that allows it to fall back to using AUTH_SYS if the
initial attempt to use AUTH_GSS fails (in
nfs4_discover_server_trunking()). This is an attempt to make the v3
mounting code just as resilient in the same situation.

Jeff Layton (2):
  nfs: make nfs_select_flavor take a list of authflavors and a length
  nfs: allow NFSv3 to fall back to using AUTH_UNIX automatically if
    available

 fs/nfs/super.c | 51 +++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 37 insertions(+), 14 deletions(-)

-- 
1.8.1.4

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