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

implement authentication via K_AUTH #1

Open
omar-polo opened this issue May 26, 2024 · 1 comment
Open

implement authentication via K_AUTH #1

omar-polo opened this issue May 26, 2024 · 1 comment

Comments

@omar-polo
Copy link
Contributor

This is the continuation of OpenSMTPD/OpenSMTPD-extras#64.

Since proc tables can know do the authentication themselves, it should be possible to handle K_AUTH, receive the plaintext password from smtpd and let the LDAP server do the authentication, instead of the current way of requiring the LDAP server to send us the hashed password.

@likle
Copy link

likle commented Nov 20, 2024

Hey @omar-polo, are you already working on this, or would you like some help with it? I currently see two small challenges in implementing this. First, I believe K_AUTH might not be usable yet, if that gets confirmed. Second, binding the user to verify the password could be problematic due to the single connection and asynchronous nature of table-ldap. One possible solution might be to open a new connection for each request?

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