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

Error out if nsswitch.conf specifies merge action. #21

Closed
wants to merge 2 commits into from

Conversation

ericonr
Copy link
Contributor

@ericonr ericonr commented Jul 1, 2021

The merge action isn't dealt with properly (it's mostly treated as a
return action), so we shouldn't pretend it is. Instead of removing it
completely, error out clearly and leave room for it being implemented
fully in the future.

The merge action isn't dealt with properly (it's mostly treated as a
return action), so we shouldn't pretend it is. Instead of removing it
completely, error out clearly and leave room for it being implemented
fully in the future.
We have already fixed main.c so any config files specifying the merge
action are rejected. Having ACT_MERGE here was wrong; its behavior
requires manually appending together the contents of struct passwd or
struct group; just writing it out ends up making ACT_MERGE exactly
equivalent to ACT_RETURN.
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

Successfully merging this pull request may close these issues.

1 participant