lcmaps_dummy_good.mod8
Dummy lcmaps plugin that always returns success
Usage
lcmaps_dummy_good.mod [{--dummy-uid
uid | --dummy-username
user}]
[{--dummy-gid
gid | --dummy-group
group}]
[{--dummy-sec-gid
gid | --dummy-sec-group
group}]
Overview
LCMAPS plug-in that always returns successfully, optionally with a user and group mapping.
Options
This plugin is configured in the lcmaps.db(5) file, following the specific syntax as described in the documentation.
-
--dummy-uid uid
--dummy-username user -
The user id or user name to return as part of a successful mapping. The user must exist on the system. The default is to return no user information. Use either of these options, not both.
-
--dummy-gid gid
--dummy-group group -
The group id or group name to return as part of a successful mapping. The group must exist on the system; the default is to return no group mapping. Use either of these options, not both.
-
--dummy-sec-gid gid
--dummy-sec-group group -
The secondary group mapping to return as part of a successful mapping. The group must exist on the system. Only one secondary group can be mapped by this plug-in. The default is to return no secondary group mapping. Use either of these options, not both.
Return value
This plugin always returns LCMAPS_MOD_SUCCESS, but if the given user or group was not found on the system, the plugin returns LCMAPS_MOD_FAIL.
Releases
6 releases since Debian 8 (Jessie); the text changed 1 time.
--dummy-group since Debian 10 (Buster);
--dummy-sec-group since Debian 10 (Buster).