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.