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

could not create local user with password authentication #1605

Open
maxadamo opened this issue Jul 29, 2024 · 1 comment
Open

could not create local user with password authentication #1605

maxadamo opened this issue Jul 29, 2024 · 1 comment

Comments

@maxadamo
Copy link

maxadamo commented Jul 29, 2024

Describe the Bug

in order to create a user with password, which authenticates over the socket, I need an entry like this one:

local   user     db         md5

but this entry should be placed before this one:

# Order: 2
local   all     all             ident

however, this is Order 2 and Order 1 is already taken.

Expected Behavior

All the stanzas after 1 should be shifted, at least by 10 positions.

Steps to Reproduce

create a rule like this:

local   user     db         md5

it will never work, because this one takes precedence:

local   all     all             ident

Environment

  • Version: not applicable (this code is still the same in the main branch)
  • Platform: not applicable

Additional Context

None

@maxadamo maxadamo changed the title could not create local user with password auth could not create local user with password authentication Jul 29, 2024
@maxadamo
Copy link
Author

maxadamo commented Jul 29, 2024

a possible workaround is to set value for the key order to a negative number.

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