]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r298523
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 May 2016 20:17:23 +0000 (20:17 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 May 2016 20:17:23 +0000 (20:17 +0000)
commitf0f597c8da2151fcf890bc72ed551c623cc94dcd
tree4f76206a86d846299f12a7f8de5aededd3a8f6d0
parent416db80390023b898999c3827d3ace7f492b2068
MFC: r298523
Allow the NFSv4 server to reply NFSERR_WRONGSEC for the SetClientID operation.

It was reported via email that a Linux client couldn't do a Kerberized
NFS mount when only "sec=krb5" was specified for the exports. The Linux
client attempted a mount via krb5i and the server replied NFSERR_SERVERFAULT.
Although NFSERR_WRONGSEC isn't listed as an error for SetClientID, I
think it is the correct reply, so this patch enables that.
I do not know if this fixes the mount attempt, but adding "krb5i" to the
list of allowed security flavours does allow the mount to work.

git-svn-id: svn://svn.freebsd.org/base/stable/10@299223 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdsubs.c