J. Bruce Fields 2b63482185 nfsd: fix clid_inuse on mount with security change
In bakeathon testing Solaris client was getting CLID_INUSE error when
doing a krb5 mount soon after an auth_sys mount, or vice versa.

That's not really necessary since in this case the old client doesn't
have any state any more:

	http://tools.ietf.org/html/rfc7530#page-103

	"when the server gets a SETCLIENTID for a client ID that
	currently has no state, or it has state but the lease has
	expired, rather than returning NFS4ERR_CLID_INUSE, the server
	MUST allow the SETCLIENTID and confirm the new client ID if
	followed by the appropriate SETCLIENTID_CONFIRM."

This doesn't fix the problem completely since our client_has_state()
check counts openowners left around to handle close replays, which we
should probably just remove in this case.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2015-10-23 15:57:30 -04:00
..
2014-07-08 17:14:27 -04:00
2014-08-17 12:00:12 -04:00
2015-02-05 14:35:18 +01:00
2015-07-20 14:58:46 -04:00
2015-07-20 14:58:46 -04:00
2015-08-13 10:26:24 -04:00
2015-04-21 16:16:02 -04:00
2015-02-16 11:43:13 -05:00
2015-02-02 18:09:43 +01:00