Whamcloud - gitweb
LU-17108 nodemap: make map_mode available for default nm 36/52336/2
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 11 Sep 2023 15:31:09 +0000 (17:31 +0200)
committerSebastien Buisson <sbuisson@ddn.com>
Mon, 11 Sep 2023 15:43:40 +0000 (17:43 +0200)
commit613ca001049887b1dc0cb2501f566c263ff7a006
tree27a9aef83002c609acc3b1adee41e6adf5bf0f5f
parent3eb6462e02df22175f27c38f97d82ec066670628
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
lustre/ptlrpc/nodemap_lproc.c