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

Configurable Password Query #89

Open
zwilliamsb2g opened this issue May 24, 2024 · 2 comments
Open

Configurable Password Query #89

zwilliamsb2g opened this issue May 24, 2024 · 2 comments

Comments

@zwilliamsb2g
Copy link

We're configuring a mail server for which we use pam_mysql to consult the mailbox database managed by postfixadmin to authenticate e-mails. Postfixadmin's encrypted passwords contain a small header that denotes the encryption algorithm within the text of the hash itself. When this header is present, pam_mysql fails to authenticate the password, but when it isn't, authentication succeeds. Postfixadmin checks for this header when logging in, so the easiest way to solve this issue is to specify the SQL query that pam_mysql uses in a way that omits this header. As far as I can tell from the available configuration directives, this is not an option, though the "where" option is similar. Is this a reasonable feature to add?

@NigelCunningham
Copy link
Owner

I'm not familiar with postfixadmin but will take a look. Thanks for raising the issue.

@NigelCunningham
Copy link
Owner

What difference in the query does debugging show with / without the header? It sounds like there would be some difference in the invocation or parameters that would be causing this.

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

2 participants