Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: V-238201 fails if additional entries are present #16

Open
pbarrette opened this issue Feb 10, 2023 · 0 comments
Open

BUG: V-238201 fails if additional entries are present #16

pbarrette opened this issue Feb 10, 2023 · 0 comments

Comments

@pbarrette
Copy link

The control parses /etc/pam_pkcs11/pam_pkcs11.conf to find the line containing use_mappers

If that entry looks like the following, the control fails:
use_mappers = digest, cn, pwent, uid, mail, subject, null;

The Check Text states:

If "use_mappers" is not found or the list does not contain "pwent" this is a finding.

The Fix Text states:

Set "use_mappers=pwent" in "/etc/pam_pkcs11/pam_pkcs11.conf" or, if there is already a
comma-separated list of mappers, add it to the list, separated by comma, and before the null
mapper.

Changing line 50 in V-238201.rb from cmp to match corrects the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant