Whamcloud - gitweb
LU-17108 nodemap: make map_mode available for default nm 36/52336/3
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 11 Sep 2023 15:31:09 +0000 (17:31 +0200)
committerOleg Drokin <green@whamcloud.com>
Sat, 23 Sep 2023 06:04:01 +0000 (06:04 +0000)
commitd9df39505530c5f224427103290b60828c11e81c
tree3f97288f95637113a039d61aafaf82c2e05fac38
parent9db00d1dbdf33f63ff5eb8f122aafc924f5425ff
LU-17108 nodemap: make map_mode available for default nm

The map_mode property lets control the way mapping is carried out. It
is already available on regular nodemaps, to decide whether uids, gids
and/or projids will be mapped.
On the default nodemap, where it is not possible to define mappings,
the map_mode property will be taken into account when trusted is 0 and
deny_unknown is 0. Unmapped IDs will be left unchanged.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I16a2f5cfda11a8435b56a00f3e97bdc70741c156
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52336
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/nodemap_lproc.c