add group support to pam_user_map module

Description

Currently pam_user_map module (plugin/auth_pam/mapper/pam_user_map.c) can map user names based on the simple configuration file, like

Here the user "john" will be renamed to "jack".
This task is to add support for mapping, based on the user group, like:

Here any user in the "group_ro" group will be renamed to "readonly".

Environment

None

Status

Assignee

Alexey Botchkov

Reporter

Sergei Golubchik

Labels

None

External issue ID

None

External issue ID

None

Components

Sprint

None

Fix versions

Priority

Critical
Configure