Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ece0de63 authored by Andy Adamson's avatar Andy Adamson Committed by Trond Myklebust
Browse files

NFS RPC_AUTH_GSS unsupported on v4.1 back channel

parent c36fca52
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -365,6 +365,9 @@ static int check_gss_callback_principal(struct nfs_client *clp,
	struct rpc_clnt *r = clp->cl_rpcclient;
	char *p = svc_gss_principal(rqstp);

	/* No RPC_AUTH_GSS on NFSv4.1 back channel yet */
	if (clp->cl_minorversion != 0)
		return SVC_DROP;
	/*
	 * It might just be a normal user principal, in which case
	 * userspace won't bother to tell us the name at all.