Re: [PATCH] Add regex plugin for nfsidmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2020-03-31 at 11:02 +0200, Stefan Walter wrote:
> The patch below adds a new nfsidmap plugin that uses regex to extract
> ids from NFSv4 names. Names are created from ids by pre- and
> appending
> static strings. It works with both idmapd on servers and nfsidmap on
> clients.
> 
> This plugin is especially useful in environments with Active
> Directory
> where distributed NFS servers use a mix of short (uname) and long
> (domain\uname) names. Combining it with the nsswitch plugin covers
> both
> variants.
> 
> Currently this plugin has its own git project on github but I think
> it could be helpful if it would be incorporated in the main nfs-utils
> plugin set.

Hmm... Why wouldn't you rather want to use something like the
sss_rpcidmapd plugin in the AD environment? Manual editing of the
username sounds error prone, particularly if your domain is part of an
AD forest.

I'm not saying that this plugin couldn't be useful in other
circumstances (please elaborate), just that the AD use case sounds a
little iffy...

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx






[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux