Skip to content

Commit

Permalink
Merge branch 'linux-5.15.88-mpi' into linux-5.15.89-mpi
Browse files Browse the repository at this point in the history
* linux-5.15.88-mpi:
  nfs: Do not try to use idmap for sec=mariux
  • Loading branch information
donald committed Jan 18, 2023
2 parents fdfa60a + 5665b35 commit 00a15cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fs/nfs/nfs4client.c
Original file line number Diff line number Diff line change
@@ -1089,8 +1089,9 @@ static int nfs4_server_common_setup(struct nfs_server *server,
* Don't use NFS uid/gid mapping if we're using AUTH_SYS or lower
* authentication.
*/
if (nfs4_disable_idmapping &&
server->client->cl_auth->au_flavor == RPC_AUTH_UNIX)
if (nfs4_disable_idmapping && (
server->client->cl_auth->au_flavor == RPC_AUTH_UNIX
|| server->client->cl_auth->au_flavor == RPC_AUTH_MARIUX ))
server->caps |= NFS_CAP_UIDGID_NOMAP;


0 comments on commit 00a15cb

Please sign in to comment.