Skip to content

Allow authentication of non-system database users #5

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pieterlexis
Copy link

Hi,

I was using you role and discovered that I always got the 'peer authentication failed' message when connecting to the database as a non-system user created with ansible's postgresql_user. The attached patch moves the postgresql_pg_hba entries up so they are matched before the peer authentication of system users.

Let me know if something about the reasoning above is incorrect and I'll see to it.

Best regards,

Pieter Lexis

@bgruening
Copy link
Member

ping @natefoo

@natefoo
Copy link
Member

natefoo commented Jul 5, 2016

Thanks for the submission @pieterlexis. Can you verify that this does not affect system users using peer authentication?

Base automatically changed from master to main March 25, 2021 16:00
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.

3 participants